Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno"Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission deniedProblem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.This report would have more information with"Show verbose output during compilation"option enabled in File -> Preferences.
ls -l /dev/ttyACM*
crw-rw---- 1 root dialout 188, 0 5 apr 23.01 ttyACM0
sudo usermod -a -G dialout <username>
sudo chmod a+rw /dev/ttyUSB0]
$ snap install arduino-mhall119 --classic
Hello, Your Arduino IDE is looking for a /dev/ttyUSB0 and you haven't got one. You have a /dev/ttyACM0. Open the Arduino IDE and go to the Tools menu. Click on port and change it to /dev/ttyACM0. Hope it works.
snap install arduino-mhall119 --classic
Hopefully kayel's suggestion will resolve your problem.If not, there have been previous reports of this type of issue being caused by using the 3rd party unofficial arduino-mhall119 Snap package. The problem was resolved after uninstalling it and then installing the official Arduino IDE, downloaded from:http://www.arduino.cc/en/Main/Software