Downloading Files
-
Download (click on) the following file to get started: 05_FitTrack.zip
-
Unzip FitTrack.zip (right click on the FitTrackLab.zip and select "extract all". Then, just pick where you want to save your copy of these files). Notice there are three folders/directories in FitTrackLab:
- HexFiles: This folder/directory holds all of the .hex files, or files that are ready to be run on a Micro::Bit.
- JavaScript: This folder/directory holds all of the JavaScript code for the labs. This includes base code and completed code. The base code is code that you can start with instead of creating new projects from scratch. Completed code is code that members of the CEDAR lab completed that you can look at if you get stuck.
- Python: This folder/directory holds all of the Python code for the labs. This also includes base code and completed code.
Opening in Your Editor
- For JavaScript/Blocks, you will use the Micro::Bit online editor: MakeCode. Here, you can switch back and forth between JavaScript and Blocks by clicking on the button/slider in the top center of the screen.
-
For Python, you can use Mu (click here to see Mu) or the online editor (click here to get to the online editor).
-
Python must be downloaded on your computer to run serial_reader.py. You can still complete this lab without serial_reader.py with a chrome extension here.