added arduino-cli commands to upload and compile

This commit is contained in:
99cardz 2024-01-10 12:48:28 +01:00
parent e42058bb82
commit 3d4b62438e

View File

@ -136,6 +136,10 @@ For instance, in `src/Dezibot.h`, to include `src/motion/Motion.h`, you should w
* USB Mode: "Hardware CDC and JTAG"
* Programmer: "Esptool"
Using `arduino-cli` to compile and upload:
`arduino-cli upload /Users/jo/Documents/Arduino/theSketch -p /dev/cu.usbmodem101 -b esp32:esp32:nora_w10`
`arduino-cli compile /Users/jo/Documents/Arduino/theSketch -p /dev/cu.usbmodem101 -b esp32:esp32:nora_w10`
#### Display
It is important to specify the SDA and SCL ports by using `Wire.begin(SDA, SCL)`.