Arduino ed

I'm having the cheap clone from Maker Factory, with an atmega328p. Trying to work on Manjaro linux.

Arduino IDE ed

Setup ed

Giving upload permission to normal user:

sudo chmod a+rw /dev/ttyACM0

Serial monitor ed

Had Java errors first, because my system used an outdated version of java.

check
archlinux-java status
(listed two versions)

set
sudo archlinux-java set java-10-openjdk

low level ed

Pins ed

arduino  atmega
 D0       D0
 ...
 D7       D7
 D8       B0
 ...
 D13      B5
 ADC0     ADC0
 ...
 ADC5     ADC5

avrdude ed

flashing an image
avrdude -p atmega328p -P /dev/ttyACM0 -c arduino -U flash:w:main.hex

Can upload, but sadly, no digital output yet...?

Categories: Computer, Programmieren