xref: /aosp_15_r20/external/walt/arduino/README.md (revision bf47c6829f95be9dd55f4c5bbc44a71c90aad403)
1*bf47c682SAndroid Build Coastguard Worker### TeensyUSB code ###
2*bf47c682SAndroid Build Coastguard Worker
3*bf47c682SAndroid Build Coastguard WorkerRefer to [Teensyduino instructions](https://www.pjrc.com/teensy/teensyduino.html)
4*bf47c682SAndroid Build Coastguard Workerto set up the development environment.
5*bf47c682SAndroid Build Coastguard Worker
6*bf47c682SAndroid Build Coastguard WorkerWhen compiling using Arduino IDE, remember to set the mode to **"Serial + MIDI"**.
7*bf47c682SAndroid Build Coastguard Worker
8*bf47c682SAndroid Build Coastguard WorkerNote: the "Serial + MIDI" mode was
9*bf47c682SAndroid Build Coastguard Worker[added recently](https://github.com/PaulStoffregen/cores/commit/a480cd28da49406c297d241a3cbb535e83bec7eb)
10*bf47c682SAndroid Build Coastguard Workerand as of this writing is only available in the
11*bf47c682SAndroid Build Coastguard Worker[beta version of Teensyduiono](https://forum.pjrc.com/threads/34472-Teensyduino-1-29-Beta-1-Available).
12*bf47c682SAndroid Build Coastguard Worker
13*bf47c682SAndroid Build Coastguard WorkerAlso check out [this template](https://github.com/apmorton/teensy-template)
14*bf47c682SAndroid Build Coastguard Workerfor using make and a text editor of your choice for comiling TeensyUSB code.
15