Hello I have Ubuntu linux and I installed the Arduino IDE on the machine and tried to connect to my board but it couldn't connect. The output at the Arduino IDE was:
I also tried adding my user to the dialout group of the serial port like this:
after running this command nothing changed and I wasn't able to connect.
by the way, that's the permissions of the "ttyUSB0" file after running the command:
Please help me to solve this, thanks in advance.
Code:
avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied
I also tried adding my user to the dialout group of the serial port like this:
Code:
sudo usermod -a -G dialout [my username]
by the way, that's the permissions of the "ttyUSB0" file after running the command:
Code:
crw-rw-rw- 1 root dialout 188, 0 Jan 4 16:46 ttyUSB0