• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoArduino-ish ProgramPWMUse PWM of pcDuino to Adjust the Brightness of Hig ...
Previous Next

Use PWM of pcDuino to Adjust the Brightness of High Power LED module

Posted by: admin , October 17, 2013

[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]

high_power_led[/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.

PWM_1

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:

 

PWM_2

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]

Tags: PWM

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors