Thank you for charing this project jlecomte This is the original project: https://github.com/jlecomte/ascom-flat-panel
For my Flatpanel I use a Arduino nano and change the OCR register and TCCR to change the PWM frequency from 490 Hz to 20kHz on Pin10
For driving the leds from the Flat I use this FET Trigger Switch Drive Module Board https://www.amazon.de/dp/B0DG8B58PM?ref=cm_sw_r_apin_dp_W161VRW7HX78QR3NWKSH&ref_=cm_sw_r_apin_dp_W161VRW7HX78QR3NWKSH&social_share=cm_sw_r_apin_dp_W161VRW7HX78QR3NWKSH
more information in progress
Step 1: Download the driver from the releases page, and place the file ASCOM.DarkSkyGeek.FlatPanel.dll somewhere on your system (example: C:\Users\julien\ascom-flat-panel\).
Step 2: Open a command prompt, but make sure you run it as an administrator!
Step 3: Then, proceed with the installation of the driver using RegAsm.exe, a utility that should already be present on your system (it comes with the .NET framework). Just don't forget to use the 64 bit version, and to pass the /tlb /codebase flags. Here is what it looked like on my imaging mini computer:
> cd C:\Users\julien\ascom-flat-panel\
> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe /tlb /codebase ASCOM.DarkSkyGeek.FlatPanel.dll
Microsoft .NET Framework Assembly Registration Utility version 4.8.4161.0
for Microsoft .NET Framework version 4.8.4161.0
Copyright (C) Microsoft Corporation. All rights reserved.
Types registered successfully
Note: The output may be more verbose than the above. As long as it says Types registered successfully, you are good to go!
Note: During registration, you will see a warning that the assembly is unsigned. This is normal as I did not bother going through the pain of signing the assembly, so you will just have to trust that you are registering the DLL that I built and uploaded to GitHub. And if you don't trust me / GitHub, you can build the DLL yourself using Visual Studio.
Note: Once the driver has been installed, make sure you do not delete or move the ASCOM.DarkSkyGeek.FlatPanel.dll file, or things will not work! (if you do move it, you will need to register it again in its new location)
Step 4: Start (or restart, if it was already running) N.I.N.A. (or whatever application you use to control your equipment).
Open Microsoft Visual Studio as an administrator (right click on the Microsoft Visual Studio shortcut, and select "Run as administrator"). This is required because when building the code, by default, Microsoft Visual Studio will register the compiled COM components, and this operation requires special privileges (Note: This is something you can disable in the project settings...) Then, open the solution (ASCOM_Driver\ASCOM.DarkSkyGeek.FlatPanel.sln), change the solution configuration to Release (in the toolbar), open the Build menu, and click on Build Solution. As long as you have properly installed all the required dependencies, the build should succeed and the ASCOM driver will be registered on your system. The binary file generated will be ASCOM_Driver\bin\Release\ASCOM.DarkSkyGeek.FlatPanel.dll. You may also download this file from the Releases page.
