Files
arduino-c/README.md
2022-07-29 19:47:32 +02:00

480 B

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.