Comments: Pulse Width Modulation

Pages

Comments 1 comment

  • Hi I’m working on a project with RGB light control using STM8L controller. Now I’m controlling the RGB via radio communication.

    One issue I’m having is if i connect the load (RGB) in the output after sometime I lose communication with the deivce, but yesterday I left my device on for 17hrs and it didn’t lose communication.

    -Is the load causing the loss in communication? -I’m generating PWM using Timer 1 of STM8L and my fsource is 16MHz with counter period of 999. (is my frequencytoo high?)


If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!