Linkit One: PWM LED

377

7

1

Posted

Introduction: Linkit One: PWM LED

In this tutorial I will show you how to do a PWM (Pulse Width Modulation) on an LED using the Linkit One Board.

Step 1: Setup

For this tutorial we will simply use one LED, any color is OK. Put the Long feet of the LED to Pin 9 on Linkit ONE and the Short one to GND Pin.

Plug the board to computer and open Arduino IDE, then open the Fading examples code just like in the picture

Step 2: Upload the Code and Profit

Once the fading code is open, upload the code to the linkit one board.

when its done you will see the LED start to fade and then turn back on again on a loop.

This PWM tutorial is a basic example for PWM. PWM also could be use to control a servo. I will show it you in the next tutorial.

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • Gluten Free Challenge

    Gluten Free Challenge
  • First Time Author Contest 2018

    First Time Author Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

Comments