Arduino and Teensy libraries
From Rsewiki
Back to Basebot
Installation of Arduino and Teensy support
Arduino (version 2.xx)
- Install the newest Arduino - see https://www.arduino.cc/en/software.
Add Teensy board support
- Add the Teensy hardware support - see https://www.pjrc.com/teensy/td_download.html, including
- Add https://www.pjrc.com/teensy/package_teensy_index.json to the file->preferences
- In the boards manager (Tools->Boards->Boards manager), search for Teensy and install support for Teensy boards.
Add libraries
- In the Library manager (Tools->Manage libraries), search for "MPU9250_asukiaaa" and "Adafruit GFX library" and install both, including dependencies. These are used to interface the IMU and support for the small display.
Board select
Select the Teensy 4.1 board (tool->board->Teensy->4.1).
Select the port on which the robot is connected - easier to connect the robot first.