[vc_row][vc_column width=”1/1″][vc_column_text]In this post, we are going to use the PWM function of pcDuino to adjust the brightness of high low LED linker module.[/vc_column_text][vc_tour][vc_tab title=”Wire Diagram” tab_id=”1381988239-1-58″][vc_column_text]
[/vc_column_text][/vc_tab][vc_tab title=”Use the Arduino IDE in pcDuino” tab_id=”1381988239-2-52″][vc_column_text]We are going to use the Arduino IDE comes with pcDuino.
The above code can also be downloaded from here (http://cnlearn.linksprite.com/wp-content/uploads/2013/10/pwm.rar).
[/vc_column_text][/vc_tab][vc_tab title=”Run” tab_id=”1381988520150-2-5″][vc_column_text]Click “Upload” to compile and run the code:
When it runs, it can adjust the brightness.
Full brightness:
Half brightness:
Turn off:
[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.