It's a 18-LEDs Light Music Unit with 256-bit PWM: [url]http://lightportal.at.ua/publ/kombinirovannye/koshachij_glaz_4_versija/11-1-0-64[/url] (sorry, site is only in Russian, but program multilingual)
It works fine, I synchronize PWM with USB (to avoid interrupt conflict) in main circle after receiving packets with this three strings. But without this packets synchronization lost and interrupts conflict occurs, therefore I must disable PWM. Also it disable at the start.
However, without incoming data, every 8ms happens INT0 from USB. It will be fine to synchronize within library, independently of incoming data. This will allow to add Background Running LEDs effects in this unit and make more serious projects.
↧