Introduction: Linkit One: PWM LED

Picture of 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

Picture of 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

Picture of 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.

Comments

Seeed Studio (author)2015-11-02

Nice tutorial.

About This Instructable

344views

7favorites

License:

More by chalei:Linkit One IoT: Sending SMS without SIM CardLinkit One: Blowing an LEDLinkit One: Debounce button
Add instructable to: