Thanks! I looked into the code and it generally looks similar to my pseudo-PI approach (preloading PWM to some value and then simply ++ or -- if output is too high or too low). I had troubles with slow response, but I think that it was because how analogRead is handled on STM32 hacked to work with Arduino. Also I wasn't calculating new PWM in main loop, but in an interrupt - maybe it was too slow? I'll copy and paste his code and test it with an oscilloscope, when I find my real Arduino...
W dniu sobota, 2 grudnia 2017 01:11:53 UTC+1 użytkownik Paul Andrews napisał: > > Ian Sparkes’ kits use the microcontroller > https://www.nixieclock.biz/Store.html . The source code is on Github. -- You received this message because you are subscribed to the Google Groups "neonixie-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/cab96939-71d1-4fb4-ace4-374453b83285%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
