Raspberry-GPIO-Manager icon indicating copy to clipboard operation
Raspberry-GPIO-Manager copied to clipboard

Flicking and dimming (PWM)

Open Huakus opened this issue 8 years ago • 6 comments

Hi Alex! Tanks very much for your work, it was a huge help for me. I made some "improvements" to the library, that includes the posibility to asincronously flick each X miliseconds for an undefined period of time; and dimm the led, asincronously as well, for an undefined period of time. wp_20160521_01_42_03_pro The problem is that I never used GitHub, and I got a little bit lost in the process of forking and requesting a pull. So, I don't know if I did it right or not, sorry if I made some mistake. In any case, I can give you the code, so you can check it. Let me know!

Thanks again! =)

Huakus avatar May 21 '16 17:05 Huakus

That is great! Yes you can email me your code or check on-line how to make a pull request and I'll be very happy to add your contribution 😃

AlexSartori avatar May 21 '16 20:05 AlexSartori

Alex! Sorry for the delay. Definitely I have no idea how to create a new branch and the proper pll request, I attach the files here: RaspberryGPIOManager.zip I also add a link to OneDrive with the code.

It's super simple, but let me know if you like it or not

Huakus avatar May 28 '16 01:05 Huakus

The methods I added to the projects are "async" methods. Digging more deeply, I was able to see that, for a CPU-only process like this ones, is a little more "clean" to use " Parallel.For", not "Async" methods. If you like, feel free to modify it in any way. =)

Huakus avatar May 28 '16 04:05 Huakus

Sorry to tell you but your files are identical to mine :hushed:

AlexSartori avatar May 31 '16 06:05 AlexSartori

You are right! I'm very sorry!

HERE I drop the correct project.

Sorry for the inconveniences.

Huakus avatar Jun 01 '16 03:06 Huakus

Grand, your changes are pushed to the main repo :wink: Thanks again for your contribution, it's awesome to receive improvements by users of my work :smile:

AlexSartori avatar Jun 04 '16 07:06 AlexSartori