Happy New Year everyone!
Phew, I made it! It’s day 24 of my ‘Countdown to Christmas Makes Challenge 2017’. So, with today being Christmas Eve I thought it would be rather apt to end my challenge with the wonderful festive tune, ‘We Wish You a Merry Christmas’, programmed in MicroPython for the BBC micro:bit. Now, on that note and along with the lyrics, I just want to say “Merry Christmas and a Happy New Year everyone!”.
To be uploaded shortly.
# Frosty The Snowman # by @KariLawler (Twitter) # Created: 20/Dec/17, v1.0 from microbit import * import music frosty_the_snowman = [ 'g4:8', 'e4:6', 'f4:2', 'g4:4', 'c5:8', 'b4:2', 'c5:2', 'd5:4', 'c5:4', 'b4:4', 'a4:4', 'g4:12', 'b4:2', 'c5:2', 'd5:4', 'c5:4', 'b4:4', 'a4:2', 'a4:2', 'g4:4', 'c5:4', 'e4:4', 'g4:2', 'a4:2', 'g4:4', 'f4:4', 'e4:4', 'f4:4', 'g4:12', 'r:4' ] music.set_tempo(bpm = 170) while True: if button_a.is_pressed(): for note in frosty_the_snowman: if note != "r": display.show(note.upper(), delay=150, wait=False, clear=True) music.play(note)
Using an Arduino UNO and a KY-038 Sound Sensor
Clap-on/Clap-off lights, using a Arduino UNO and a KY-038 sound sensor.
(Full description, and wiring diagram to follow shortly)
A Christmas Present & Igloo
Built using Python 3.x
for the Raspberry Pi version of Minecraft
A Christmas Present & Igloo, built using 3-dimensional lists in Python 3.x for the Raspberry Pi version of Minecraft.
Programmed in Python 3.x
using the Turtle library
For the BBC micro:bit
Programed in MicroPython
Imperial March theme tune for the BBC micro:bit, coded in MicroPython.