This is the version 5e4c536fbc5a127054b33e7b from 2020-02-18 21:13:19 comment: 'stuff...'
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
(so far, running as root...)
Setup ed
- open the board manager (menu tools/boards)
- install "Arduino AVR boards"
- select the "Arduino Uno"
- programmer: "ArduinoISP"
- port: "/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