Александр
Александр

Reputation: 317

There is error when I upload code to the Arduino UNO

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

Answers (1)

Александр
Александр

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

Related Questions