Hi wellyb00t,
Can you please tell how you control the led's brightness?
Hi wellyb00t,
Can you please tell how you control the led's brightness?
Roger
In the code (post 1) change this line:
address = %10101111 'pwm 16/16
bits 0,1,2,3 control brightness
the above line is for max brightness
address = %10100000 'pwm 1/16 min brightness
address = %10100111 'pwm 8/16 mid brightness
This can be found in the datasheet 'PWM Duty' in the command summary (3.3)
Some of my projects: http://www.youtube.com/user/wellyb00t
Bookmarks