coolneng 3f327b1c3d | ||
---|---|---|
Week 1 | ||
Week 2 | ||
Week 3 | ||
README.org | ||
compile.sh |
README.org
Arduino Course
Code from Universidad de Granada's Arduino Course.
Usage
If you want to use arduino-cli instead of the official Arduino IDE, you can use compile.sh to compile and upload the Sketch to the board.
For example:
arduino-cli sketch new Test
./compile.sh Test
If you want to see the output of the Serial port, you have to identify the device:
arduino-cli board list
Then you can see the output of the device, let's assume that the device is /dev/ttyACM0:
cat /dev/ttyACM0
If you get a Permission denied, try running the command as a superuser (e.g. sudo)