mirror of
https://github.com/Kugelschieber/arduino-c.git
synced 2026-01-18 11:00:26 +00:00
190f1b5876b58e0fed4cdb52b71677b7b802337b
Arduino C
Programming the Arduino in pure C on Linux.
Requirements
- arvdude
- arv-gcc
- avr-libc
Compile and upload
Run using the following command (example port):
sudo ./compile.sh /dev/ttyUSB0
The port can be found by looking inside /dev, the system file ll /sys/class/tty/ttyUSB*, or by running lsusb.
Monitoring the serial port
sudo screen /dev/ttyUSB0 9600
To close the program, press Ctrl + A and type in :quit and hit enter.
Description
Languages
C
95.6%
Shell
4.4%