today i'll be making something with micro bit but first here is my list of 25 things I could build with a micro bit.
I could build a pet
I could build a watch
I could build a game of tic-tac-toe
I could build a working RAID Shadow Legends
I could build a among us like game
I could build a stop light
I could build a virtual cat
I could face recognition
I could build a step meter
I could build a RC car
I could build a Morse code phone
I could build an arcade
I could build a light show
I could build a music machine
I could build a computer
I could build a robot
I could build a weather reader
I could build Christmas decorations
I could build a battle bot
I could build a catapult
I could build a phone charger
I could build a racing game
build a sim city
build a
the first project I made is right here anit' the best but at least it can work.
here is the code used to make this thing:input.onButtonPressed(Button.A, function () {
music.playMelody("B E G B C F C5 G ", 120)
basic.showIcon(IconNames.Heart)
basic.showString("THANKS HUMN THAT WAS NICE")
})
input.onGesture(Gesture.FreeFall, function () {
music.playMelody("C D C E F C D E ", 120)
basic.showIcon(IconNames.Skull)
})
input.onButtonPressed(Button.AB, function () {
music.playMelody("B A G A G F E F ", 120)
basic.showIcon(IconNames.Heart)
})
input.onButtonPressed(Button.B, function () {
music.playMelody("A D G B C5 D A E ", 120)
basic.showIcon(IconNames.Happy)
basic.showString("HOW ARE YOU TODAY HUMAN? GOOD OR BAD?")
})
input.onGesture(Gesture.Shake, function () {
music.playMelody("A G F B E - A G ", 120)
basic.showIcon(IconNames.Angry)
basic.showString("HOW" + "COULD" + "YOU?! >:(")
})
music.playMelody("G E A B E G A C ", 120)
basic.showString("HELLO HUMAN HOW ARE YOU TODAY?")
control.inBackground(function () {
radio.sendValue("sam", 27788)
})
All it really was was a thing that would talk and "die" if you dropped it. It was supposed to make music when ever you pressed any buttons or shook it, but it didn't work because I didn't have the necessary materials to make music. But here is the video:https://drive.google.com/file/d/1FHnvRFYVUvGZjaKnKvuGbID0ZkcoiCgO/view?usp=sharing
For the second project I made a game of rock-paper-scissors-shoot, it was very easy to make and I'm gonna give you the JavaScript to make this thing:let hand = 0
input.onGesture(Gesture.Shake, function () {
hand = randint(1, 3)
if (hand == 1) {
basic.showLeds(`
# # # # #
# . . . #
# . . . #
# . . . #
# # # # #
`)
} else if (hand == 2) {
basic.showLeds(`
. . . . .
. # # # .
. # # # .
. # # # .
. . . . .
`)
} else {
basic.showLeds(`
# # . . #
# # . # .
. . # . .
# # . # .
# # . . #
`)
}
})
basic.forever(function () {
})
the pictures don't actually look like that but I hope the video will help brake that look
Using the micro bit website and some code, I created a bunch of coded games because I can't do much with code because I find it really annoying to code.
During this process, I learned that music is annoying and that if at first you don't succeed try try again..
The 7 standards of the class are Empowered Learner, Digital Citizen, Knowledge Constructor, Innovative Designer, Computational Thinker, Creative Communicator, and Global Collaborator. My project ties to Innovative designer because I didn't need to follow instructions to make my stuff.
A challenge I overcame on this project was getting it to "die" when I dropped it because if I shook it it would do something else . I was able to do it by changing the action of shaking it to another action not involving buttons.
Given a chance to do this again, I would change some of the actions it did. The reason why I would change it is because sometimes it was kind of creepy what it said and some of the stuff didn't make any sense.
Hastings High School Career and Technical Education Program offers Agriculture, Business Management, Computer Programming, Construction Trades, Culinary Arts, Digital Multimedia, Engineering Design, Finance, Insurance, Marketing. My project connects to the Computer programming CTE program at Hastings High School. My project connects to careers in programming like web developer, Computer systems engineer, Software application developer, and many other jobs that involve coding .