Difference between revisions of "Robot Club"

From Mech
Jump to navigationJump to search
Line 9: Line 9:
* Second, go into REPL mode and communicate with the board. Practice entering (CTRL-c) and exiting (CTRL-D) REPL.
* Second, go into REPL mode and communicate with the board. Practice entering (CTRL-c) and exiting (CTRL-D) REPL.
* Third, make a local copy of main.py, in case you ever want to see the original examples again.
* Third, make a local copy of main.py, in case you ever want to see the original examples again.
* Forth, replace the contents of main.py with this example [[File:main.py]]
* Forth, replace the contents of main.py with the content from this example [[File:Main.txt]]

Revision as of 18:52, 3 October 2018

Halloween Tutorial 1

We are using the Itsy Bitsy M0 Express from Adafruit.

Mu ("Moo") is a nice IDE used to edit the code and debug.

  • First, plug the board in a open Mu. Load main.py from the CIRCUITPY drive. Open the serial monitor.
  • Second, go into REPL mode and communicate with the board. Practice entering (CTRL-c) and exiting (CTRL-D) REPL.
  • Third, make a local copy of main.py, in case you ever want to see the original examples again.
  • Forth, replace the contents of main.py with the content from this example File:Main.txt