Go Down

Topic: Gemma on arm bug compiling neopixel libs (Read 2255 times) previous topic - next topic



I tried to upload a sketch to Gemma from Raspberry Pi.
It's a sketch that use neopixel library and I've got this error :

Code: [Select]
/home/pi/sketchduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:113:1: error: expected unqualified-id before 'typedef'
 typedef uint8_t  neoPixelType;
/home/pi/sketchduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:113:1: error: expected constructor, destructor, or type conversion before 'typedef'
/home/pi/sketchduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:121:46: error: 'neoPixelType' has not been declared
   Adafruit_NeoPixel(uint16_t n, uint8_t p=6, neoPixelType t=NEO_GRB + NEO_KHZ800);
/home/pi/sketchduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:136:16: error: 'neoPixelType' has not been declared
     updateType(neoPixelType t);
Utilisation de la bibliothèque HID version 1.0 dans le dossier: /home/pi/outils/arduino-1.8.7/hardware/arduino/avr/libraries/HID
Utilisation de la bibliothèque Adafruit_NeoPixel version 1.1.7 dans le dossier: /home/pi/sketchduino/libraries/Adafruit_NeoPixel
exit status 1
Erreur de compilation pour la carte Arduino Gemma

Thanks for help


Please post your full sketch, using code tags (</> button on the toolbar).

Go Up