Reputation: 317
I cannot upload code to Arduino UNO Error message:
avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied
Failed uploading: uploading error: exit status 1
Board info:
BN: Unknown board
VID: 0x1a86
PID: 0x7523
SN: (null)
Upvotes: 1
Views: 563
Reputation: 317
You have to add your user to the dialmod group. run
sudo usermod -a -G dialout <username>
where is your user name
Upvotes: 0