... | ... | @@ -80,19 +80,10 @@ The beacon shown above will set the group to 1, so it can be heard from any in-r |
|
|
## Step 3: Download The Files
|
|
|
* Download (click on) the following file to get started: [BeaconLab.zip](/uploads/c352ac346a5cf5ea40d9bcc88f0e0152/BeaconLab.zip)
|
|
|
|
|
|
* Unzip BeaconLab.zip (right click on the BeaconLab.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 BeaconLab:
|
|
|
* **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.
|
|
|
* Unzip BeaconLab.zip (right click on the BeaconLab.zip and select "extract all". Then, just pick where you want to save your copy of these files).
|
|
|
|
|
|
![files_new](/uploads/db7d5badc4c093fab35c294881ace7e4/files_new.PNG)
|
|
|
|
|
|
## Step 4: Open your editor.
|
|
|
For JavaScript/Blocks, you will use the Micro::Bit online editor: [MakeCode](https://makecode.microbit.org/). Here, you can switch back and forth between JavaScript and Blocks by clicking on the button/slider in the top center of the screen.
|
|
|
|
|
|
![blocks](/uploads/7061a5064100caa0790c714bdb1182c1/blocks.PNG)
|
|
|
|
|
|
For Python, you will have to use the beta version of Mu: [Mu 1.0.0.beta.15](https://github.com/mu-editor/mu/releases/tag/v1.0.0.beta.15).
|
|
|
## Step 4: Open your editor
|
|
|
This base code is also available in the directory that you downloaded as well as this repository. If you don't remember how to open code in your editor, see the instructions [here](how-to-flash).
|
|
|
|
|
|
## Step 5: Flash the base code.
|
|
|
Here is a .hex file with the base code: [Base.hex](/uploads/b71c963e764972c0780481b4ca69b68a/Base.hex).
|
... | ... | |