mtnscott / Adafruit_ILI9341

pkourney port of Adafruit_ILI9341 for Spark
Other
1 stars 19 forks source link

'PIN_MAP' was not declared in this scope #1

Open baylf2000 opened 8 years ago

baylf2000 commented 8 years ago

Veryfing code using this library in Particle Build fails with this error:

dmil commented 8 years ago

+1 - please help us figure out what this is

Adafruit_ILI9341/Adafruit_ILI9341.h:27:22: error: 'PIN_MAP' was not declared in this scope
 #define pinLO(_pin) (PIN_MAP[_pin].gpio_peripheral->BRR = PIN_MAP[_pin].gpio_pin)

image

https://github.com/mtnscott/Adafruit_ILI9341/blob/master/firmware/Adafruit_ILI9341.h#L27

dmil commented 8 years ago

Seems like other libraries are having this issue also. Something to do with spark IDE? https://github.com/jenesaisdiq/SparkButton/issues/6 https://github.com/Hotaman/OneWireSpark/issues/8

dmil commented 8 years ago

https://community.particle.io/t/photon-and-the-pin-map-challenge/12223

dmil commented 8 years ago

https://github.com/mtnscott/Adafruit_ILI9341/pull/2

Rednaxelad commented 8 years ago

Is that problem solved? Because i'm having this issue.