Add the following snippet to your HTML:<iframe frameborder='0' height='385' scrolling='no' src='https://www.hackster.io/iwasp/microbit-projects-flashing-led-by-iwasp-eu-b684e3/embed' width='350'></iframe>
Simple Flashing LED. Visit the website for a full list of components, download the circuit diagram and MicroPython code.
Read up about this project on
For Microbit Projects - Flashing LED by IWASP.EU, visit http://microbit.iwasp.eu
# MICROBIT.IWASP.EU PROJECTS COPYRIGHT 2017 # SIMPLE FLASHING LED from microbit import * #flashing LED - connect pin 0 to LED & resistor - terminatng to ground while True: pin0.write_digital(1) sleep(300) pin0.write_digital(0) sleep(300)
Please log in or sign up to comment.
Comments
Please log in or sign up to comment.