TMR - Leds

{% trans 'Sorry, your browser does not support canvas -- please either update your browser or submit your requirements by phone or email.' %}

Accelerometer

This code will turn on led zero as it will be used as an output . The while loop (green) will be run infinitely until button "A" is pressed. Once button "A" has been pressed the LED (Light Emitting Diode ) will turn on. IMPORTANT: ------------------------------ LED's have polarity so make sure you connect the short lead of the LED to the pin on your code bug that has the letters GND . The longer lead will be connected to leg zero.

Report this project
Back to top