This is the version 5e4c546fbc5a127054b33e9b from 2020-02-18 21:17:35 comment: 'permission'
Arduino ed
I'm having the cheap clone from Maker Factory, with an atmega328p. Trying to work on Manjaro linux.
Table of Contents
Arduino IDE ed
Setup ed
- open the board manager (menu tools/boards)
- install "Arduino AVR boards"
- select the "Arduino Uno"
- programmer: "ArduinoISP"
- port: "/dev/ttyACM0"
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
- 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