At the end of this lesson, you will be able to:
get GitHub repositories from me
connect a GitHub repo into MakeCode Micro:Bit
review logging into your new GitHub account
review getting into Microsoft MakeCode for Micro:Bit
go over how to get a pre-made GitHub repo from me
go over clicking on provided link
go over opening the GitHub repo
ENSURE you are logged into GitHub FIRST!
go over how to import repo into MakeCode Micro:Bit
ENSURE you change the name in MakeCode Micro:Bit AFTER you import the repo
ex: Intro-04 or Unit #2-03
make a change to code
replace "Hello, World!" with "Hello, first_name"
see the simulator update
later we will move it over to a realy physical Micro:Bit
save change back to GitHub
null
click on provided link to open new GitHub repo
open MakeCode Micro:Bit and "import" this new repo
change the displayed text to your name
save changes back to GitHub
ensure changes have been made
see the example document to know what to submit → Jane Smith - TEJ2O - Intro-03.pdf (see file below: ↓)
go over how to open up GitHub Codespace from provided repo
change the python code
compile the code
back up to GitHub
open up GitHub Codespace from provided repo
change the python code
replace "Hello, World!" with "Hello, first_name"
compile the code
py2hex ./main.py
if you get no error and you see the main.hex file, you are all set
later we will move it over to a realy physical Micro:Bit
back up to GitHub