Add more usage details to the Readme

This commit is contained in:
coolneng 2019-11-19 18:33:58 +01:00
parent 1b30d7b210
commit 13545cda11
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 14 additions and 0 deletions

View File

@ -12,3 +12,17 @@
arduino-cli sketch new Test arduino-cli sketch new Test
./compile.sh Test ./compile.sh Test
#+END_SRC #+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*)