From 13545cda11231dd815d086dcb0a8dc3915b8d1aa Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 19 Nov 2019 18:33:58 +0100 Subject: [PATCH] Add more usage details to the Readme --- README.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.org b/README.org index 9e2f40f..b3f4549 100644 --- a/README.org +++ b/README.org @@ -12,3 +12,17 @@ arduino-cli sketch new Test ./compile.sh Test #+END_SRC + + If you want to see the output of the Serial port, you have to identify the device: + +#+BEGIN_SRC sh + arduino-cli board list +#+END_SRC + + Then you can see the output of the device, let's assume that the device is /dev/ttyACM0: + +#+BEGIN_SRC sh + cat /dev/ttyACM0 +#+END_SRC + + If you get a /Permission denied/, try running the command as a superuser (e.g. *sudo*)