Troubleshooting

Error : Permission Denied

Saat mengupload program ke Arduino muncul pesan kesalahan seperti berikut ini :

Arduino: 1.8.8 (Linux), Board: "Arduino/Genuino Uno"
Sketch uses 930 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.<br />
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied<br />
An error occurred while uploading the sketch

Masalah ini di LINUX dapat diselesaikan dengan memberikan izin pada user untuk menulis dan membaca port

sudo chmod a+rw /dev/ttyACM0

Leave a Reply

Your email address will not be published. Required fields are marked *