From 3d4b62438ea8f2f7128dfe1f03ed602f557a0dfe Mon Sep 17 00:00:00 2001 From: 99cardz Date: Wed, 10 Jan 2024 12:48:28 +0100 Subject: [PATCH] added arduino-cli commands to upload and compile --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b2fb3b1..c0d6b18 100644 --- a/README.md +++ b/README.md @@ -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)`.