... | @@ -88,11 +88,11 @@ You can check to make sure that you have the library by searching for the librar |
... | @@ -88,11 +88,11 @@ You can check to make sure that you have the library by searching for the librar |
|
7. When the command "right" is received over the radio, drive the mototbit right
|
|
7. When the command "right" is received over the radio, drive the mototbit right
|
|
4. Generate your robot .hex file. From your editor, click on the "Download" button in the bottom right hand corner. This will download your .hex file. You can find it in the Downloads folder on your computer.
|
|
4. Generate your robot .hex file. From your editor, click on the "Download" button in the bottom right hand corner. This will download your .hex file. You can find it in the Downloads folder on your computer.
|
|
|
|
|
|
![download](/uploads/c3c3a26fb266867fc4cbe74a08ab952e/download.PNG)
|
|
![download](/uploads/c3c3a26fb266867fc4cbe74a08ab952e/download.PNG)
|
|
|
|
|
|
If you are using Mu (Python editor), you simply need to press the "flash" button. In other words, if you are working with Python, you don't have to generate a .hex file, you just need to press the "flash" button.
|
|
If you are using Mu (Python editor), you simply need to press the "flash" button. In other words, if you are working with Python, you don't have to generate a .hex file, you just need to press the "flash" button.
|
|
|
|
|
|
![flash_py](/uploads/f88092bbd58733b96896c29481a875b1/flash_py.PNG)
|
|
![flash_py](/uploads/f88092bbd58733b96896c29481a875b1/flash_py.PNG)
|
|
|
|
|
|
5. Open the controller base code by:
|
|
5. Open the controller base code by:
|
|
1. Go to the files you downloaded from above
|
|
1. Go to the files you downloaded from above
|
... | @@ -110,11 +110,11 @@ You can check to make sure that you have the library by searching for the librar |
... | @@ -110,11 +110,11 @@ You can check to make sure that you have the library by searching for the librar |
|
3. When button b is pressed, if the radio group has not been set, increment the radio group by 1. if the radio group has been set, send a "right" command over the radio
|
|
3. When button b is pressed, if the radio group has not been set, increment the radio group by 1. if the radio group has been set, send a "right" command over the radio
|
|
7. Generate your controller .hex file. From your editor, click on the "Download" button in the bottom right hand corner. This will download your .hex file. You can find it in the Downloads folder on your computer.
|
|
7. Generate your controller .hex file. From your editor, click on the "Download" button in the bottom right hand corner. This will download your .hex file. You can find it in the Downloads folder on your computer.
|
|
|
|
|
|
![download](/uploads/c3c3a26fb266867fc4cbe74a08ab952e/download.PNG)
|
|
![download](/uploads/c3c3a26fb266867fc4cbe74a08ab952e/download.PNG)
|
|
|
|
|
|
If you are using Mu (Python editor), you simply need to press the "flash" button. In other words, if you are working with Python, you don't have to generate a .hex file, you just need to press the "flash" button.
|
|
If you are using Mu (Python editor), you simply need to press the "flash" button. In other words, if you are working with Python, you don't have to generate a .hex file, you just need to press the "flash" button.
|
|
|
|
|
|
![flash_py](/uploads/f88092bbd58733b96896c29481a875b1/flash_py.PNG)
|
|
![flash_py](/uploads/f88092bbd58733b96896c29481a875b1/flash_py.PNG)
|
|
|
|
|
|
5. Flash the robot hex file to one Micro::Bit and the controller hex file to the other. You should be able to choose a radio group on each and lock it in. From there, you should be able to drive your robot using the controller. To help you in the debugging process, we have provided a potential solution. The completed code for these solutions (as well as pictures of the completed code blocks) is included in the directory you downloaded during setup.
|
|
5. Flash the robot hex file to one Micro::Bit and the controller hex file to the other. You should be able to choose a radio group on each and lock it in. From there, you should be able to drive your robot using the controller. To help you in the debugging process, we have provided a potential solution. The completed code for these solutions (as well as pictures of the completed code blocks) is included in the directory you downloaded during setup.
|
|
|
|
|
... | | ... | |