Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'PIN_MAP' was not declared in this scope #12

Closed
dresslerc opened this issue Jul 22, 2015 · 6 comments
Closed

'PIN_MAP' was not declared in this scope #12

dresslerc opened this issue Jul 22, 2015 · 6 comments

Comments

@dresslerc
Copy link

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

neopixel/neopixel.cpp:110:9: error: 'PIN_MAP' was not declared in this scope
         PIN_MAP[pin].gpio_peripheral->BSRR = PIN_MAP[pin].gpio_pin
@technobly
Copy link
Owner

Thanks! Fixed a while ago :)

@gotnull
Copy link

gotnull commented Feb 25, 2016

Still not fixed..

@sammysawdust
Copy link

Sorry, seeing this too.
neopixel/neopixel.cpp: In member function 'void Adafruit_NeoPixel::show()':
This looks like an error in neopixel library. Would you like to create an issue on GitHub to let the author know?
CREATE ISSUE
neopixel/neopixel.cpp:92:9: error: 'PIN_MAP' was not declared in this scope
PIN_MAP[pin].gpio_peripheral->BSRR = PIN_MAP[pin].gpio_pin; // HIGH
^

@technobly
Copy link
Owner

@gotnull @sammysawdust please either remove and re-add the library to your existing app, or create a new app and add the library again, or use one of the existing examples for the latest version.

If all of those fail for you, please let me know what Device and version you are compiling with, and let's see your source code. Thanks!

@gotnull
Copy link

gotnull commented Mar 17, 2016

That worked, thanks.

On Thursday, 17 March 2016, Technobly notifications@github.com wrote:

@gotnull https://github.com/gotnull @sammysawdust
https://github.com/sammysawdust please either remove and re-add the
library to your existing app, or create a new app and add the library
again, or use one of the existing examples for the latest version.

If all of those fail for you, please let me know what Device and version
you are compiling with, and let's see your source code. Thanks!


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#12 (comment)

Sent from my iPhone (apologies for any typos or brevity).

@technobly
Copy link
Owner

Good to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants