error co,piling GEM with an adafruit example code

hi, I have no experience with arduino or coding however i am giving it a try using an adafruit gemma board.

Now, I have installed the the adafruit neopixel library and when trying to compile one of the a sample codes the following error comes up.

Arduino: 1.8.6 (Windows 10), Board: "Arduino Gemma"
Sketch uses 2086 bytes (39%) of program storage space. Maximum is 5310 bytes.
Global variables use 39 bytes of dynamic memory.
An error occurred while uploading the sketch

again, no changes to the code etc. board is connected, green led is on and red led is blinking..

any thoughts on how can I move from this point?

Hello,

It may be easier to understand the problem if you enable upload messages:

Menu: File> Preferences,

Mark: Show verbose output durring: (x) Upload

Can you find the serial port listed in the device manager of your computer?

Hi rtek1000

just did that and here is the full message for reference.\

Arduino: 1.8.6 (Windows 10), Board: "Arduino Gemma"
Sketch uses 2036 bytes (38%) of program storage space. Maximum is 5310 bytes.
Global variables use 39 bytes of dynamic memory.
C:\Users\NEIL\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/bin/avrdude -CC:\Users\NEIL\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf -v -pattiny85 -cstk500v2 -Pusb -Uflash:w:C:\Users\NEIL\AppData\Local\Temp\arduino_build_176535/simple.ino.hex:i
avrdude: Version 6.3-20171130

  • Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/*
  • Copyright (c) 2007-2014 Joerg Wunsch*
  • System wide configuration file is "C:\Users\NEIL\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf"*
  • Using Port : usb*
  • Using Programmer : stk500v2*
    avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
    avrdude done. Thank you.
    An error occurred while uploading the sketch
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

any recommendation at this point would be appreciated.

The big clue is this part of the error

did not find any USB device

Are you by any chance using USB 3.0 ports ?
If so try swapping to a USB 2.0 port.

Also double check you cable is both DATA AND POWER as some are POWER ONLY.

Not 100% sure but does the gemma give you a PORT NUMBER in device manager when you plug it in ?
If so (under PORTS COM & LPT) then select that port in the IDE.

From the Arduino Gemma Getting Started page:
https://www.arduino.cc/en/Guide/ArduinoGemma#toc5

Select Arduino Gemma from Tools > Programmer

Your error message indicates you don't have the correct programmer selected from the Tools > Programmer menu.

I did use the Library Manager (Add Zip Library) when I added this Adafruit_IO_Arduino Library to my IDE.

Hi Pert, it was in fact the case, I was not selecting the right programmer.

Thanks for your advice. issue resolved from my end.