Gemma M0 py code works but IDE does not

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jimkru
 
Posts: 3
Joined: Tue Nov 28, 2017 4:10 pm

Gemma M0 py code works but IDE does not

Post by jimkru »

I'm using a Gemma M0 on a Mac with OS 10.11.5. I was trying to use Arduino 2 IDE 1.8.5 and have followed the installation steps to add the url and then the board in the board manager. I selected the Gemma 8mhz board and the USBtinyISP programmer. From the IDE, trying to hit the reset button and upload the blink sketch just gives me the avrdude error, could not find USBtiny device.

I noticed that it was mounting the Gemma as a device named CIRCUITPY and that it's actually running the main.py code successfully. I was able to uncomment the lines that let it emulate an 'a' keypress when you touch the A2 pad and that all worked fine, so it appears to be working fine with the USB cable and port I'm using to connect it.

Is there something I need to do to switch it from the circuitpy code over to using the Arduino IDE? If not, why is it not working with the IDE and giving me that avrdude error?

Thanks.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wearables”