Board at /dev/ttyACM0 is not available

Hello,

I recenty switched to ubuntu 18.04. I am working with arduino 1.8.19.
I am trying to upload an example sketch from onewire library to my pico and it uploads fine but when I try to open serial monitor it shows me an error "Board at /dev/ttyACM0 is not available"
Before this program, I was working with program in which I was using ArduinoJson and PubSubClient library and faced no such error with it.

I tried "sudo chmod a+rw /dev/ttyACM0" in terminal but it shows "chmod: cannot access '/dev/ttyACM0': No such file or directory".

Please provide your inputs on this.

Thank you.

Perhaps this thread will be useful
https://forums.raspberrypi.com/viewtopic.php?t=302359

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.