MicroBit

img
In this example we will create a VB.net program that will read data from the serial port, in this case a Microbit connected to the PC. We will then upload a program to our microbit that sends data via the serial port when a button...
img
The neopixel module lets you use Neopixel (WS2812) individually addressable RGB LED strips with the Microbit. Note to use the neopixel module, you need to import it separately with: import neopixel I used the following module which has 8 LEDs on it Connection is straight...

For the purposes of education and entertainment, the module contains several example tunes that are expressed as Python lists. They can be used like this:   import music music.play(music.NYAN) All.

img
Here are another couple of RGB led examples for the Micro:bit Layout     Code The first example just shows some extra colour combinations [codesyntax lang="python"] from microbit import * while True: pin0.write_digital(0) pin1.write_digital(1) pin2.write_digital(1) sleep(500) pin0.write_digital(1) pin1.write_digital(0) pin2.write_digital(1) sleep(500) pin0.write_digital(1) pin1.write_digital(1) pin2.write_digital(0) sleep(500) pin0.write_digital(0) pin1.write_digital(0)...

A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity..

This div height required for enabling the sticky sidebar
Ad Clicks : Ad Views : Ad Clicks : Ad Views :