Microbit basic serial port example
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…
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…
This example melds together our Microbit and an AD keypad and our Microbit built in tunes and allows you to play a different tune based on a key being pressed We only selected 9…
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 the…
MicroPython on the BBC micro:bit comes with a powerful music and sound module. It’s very easy to generate bleeps and bloops from the device if you attach a buzzer. Use…
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.…
The BBC micro:bit does not have a dedicated temperature sensor. Instead, the temperature provided is actually the temperature of the silicon die on the main CPU. So not a…
I like the Micro:Bit, its a nice little compact board with plenty of features with a couple of development options such as Python, C++ and block editors. One of the…
The micro:bit also has a compass (magnetometer) The compass has to be calibrated before it can give accurate readings. Calibration involves moving a dot to make a circle on the…
The micro:bit has an accelerometer on board, you can see this in the picture below When you flash the program, you should see a reading of the accelerometer x axis being…
The Image class also has the following built-in instances of itself included as its attributes (the attribute names indicate what the image represents). In this example we will randomly display…