digistump / DigistumpArduino

Files to add Digistump support (Digispark, Pro, DigiX) to Arduino 1.6.X (1.6.5+)
934 stars 377 forks source link

"port" grayed out #83

Open wissehes opened 5 years ago

wissehes commented 5 years ago

Hello, i cannot put any code on my digispark because "port" under "tools" is grayed out and i cannot select any port. Can anyone help me? i am on ubuntu 18.10

Markeno76 commented 5 years ago

I don't know if I needed to or not, because I had the same issue you had until I found out about the driver, and the next bit I will mention below. I did download and install the micronucleus driver for Windows and install it before I managed to successfully program the board. From here: https://github.com/digistump/DigistumpArduino/tree/master/tools

But there is another trick to them. It is different the traditional Arduino Uno/Nano etc boards, what you do is press the "Build" button "Before" plugging it in, then when the program is ready, you will see in the build window that will prompt you to plug it in. Plug it in when prompted, after that it should find it automatically and program it. I had the same issues myself, being it is a rather unique behavior when compared to the Uno and Nanos that I am familiar with.

I would expect it to be similar behavior on ubuntu compared to Windows, This is because the board only listens to programming for a few seconds after powering on, then it quits listening, and being the board and not the Computer OS that is doing that, it should be the same way on any computer OS you are trying to use with it.