We're going to be using the popular Arduino IDE to compile and load code. Start by following the PyBadge setup guide to
- Install the latest desktop Arduino IDE
- Install Adafruit SAMD board support package (If programming a SAMD board like the Edge/PyBadge)
- Install Adafruit nRF52 board support package (If programming an nRF52 board like the Circuit Playground Bluefruit)
- Install all the Arcada Libraries (yes there's a lot of them!)
TensorFlow Libraries
Now install the Arduino TensorFlow library 1.15.0-ALPHA
with the library manager
Make sure you don't pick the pre-compiled release version
If you see 'precompiled' in the name, install the non-precompiled version from the dropdown
Next, install Adafruit TensorFlow Lite
And finally, for the speech demos, grab the Adafruit Zero PDM library
Select Board
Almost ready! Before we're ready to compile some examples!
Plug in the board into your computer with a known-good data/sync cable. Select the right board in the Tools download
For PyBadge/EdgeBadge
For some examples you will want to set Optimize to Fastest and set CPU Speed to 180MHz (overclocking). This will give 6-10x speedup. For the first few examples, it isn't necessary. Make sure to select USB Stack: TinyUSB
Page last edited March 08, 2024
Text editor powered by tinymce.