- Notifications
You must be signed in to change notification settings - Fork0
MicroPython Code for SparkFun moto:bit robot (micro:bot)
License
mucolon/motobit-projects
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A repository for projects using SparkFun'smoto:bit.
A script that commands the SparkFunmicro:bot to follow a 2 inch wide black line. This file includes the MotoBit class. Thus only this file needs to be flashed to have a functioning line following robot.
![]() |
---|
micro:bot following a simple loop |
This directory (folder) contains a line following script and the imported class which performs low-level procedures.
This directory enables intellisense on Visual Studio Code. Code was sourced from this repositoryhttps://github.com/PhonicCanine/microbit
If you have installed the micro:bit VS Code extension, then flash yourfile_name.py
file by clicking theBuild current file to Micro:Bit
button on the top right of your window.
or
There are two other editors other than VS Code that can flash your python script to your micro:bit. Themu-editor or themicro:bit Online Python Editor. I recommend downloading themu-editor as their built-in REPL works great with the micro:bit.
I recommend ordering themicro:bit Go Bundle andmicro:bot kit together to avoid S&H costs, if you're only buying one robot set. For multiple sets of robots, purchase themicro:bit board andmicro:bot kit instead for every robot set.
micro:bit | micro:bot | moto:bit |
---|---|---|
micro:bit not included with the micro:bot kit. | moto:bit included with the micro:bot kit. |