-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Library porting for Arduino Nicla Sense ME #319
Comments
we don't own this board, so we are happy to take a PR but we would not be adding it ourselves since we cannot test |
So many thank for you reply Ladyada (I'm your fan and I really appreciate your work!). |
you can look at other PR's for ideas on how to add it, or ask the maker of the board to help add support. it may not be hard but we do not own the board so we can't test. |
@per1234 fyi, maybe someone who has a nicla can contribute a PR? :) |
I really appreciate your help! (what is PR?) .. |
Dear sirs, |
Hello! I had the same problem so I tried to fix it myself. I've made a PR that fixes this issue, you can find it here. |
Hello! I will check as soon as possible! Meanwhile thank so much!!!! Great!
ing.Amedeo Lepore
mail: ***@***.***
phone: +39 348 7017 257
Il giorno mer 5 ott 2022 alle ore 04:52 Alexandra Covor <
***@***.***> ha scritto:
… Hello! I had the same issue so I tried to fix it myself. I've made a PR
that fixes this issue, you can find it here
<#331>.
Let me know if it works for you!
—
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKMHJ2BWR4PCTXQEWPHQEHDWBTUNRANCNFSM5R354H6A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi @Alexandra182, thanks for the fix. Anybody else tried it out and perhaps can provide some working code? Here is mine:
Thanks a lot! |
Hi @Cali1205, If you want to connect the NeoPixels to GPIO3 you can use this line of code:
according to the pinout.
This is the code that worked for me:
|
Thanks a lot @Alexandra182, that works fine for me. |
Arduino board: *Arduino Nicla Sense ME
Arduino IDE version (found in Arduino -> About Arduino menu): ARDUINO IDE 1.8.10 - Windows 10
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too): Any standard examples of libary
Hereafter the complete error message I get when try to compile Neopixel Library with Nicla Sense ME
Arduino: 1.8.19 (Windows 10), Board: "Nicla Sense ME"
C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp: In member function 'void Adafruit_NeoPixel::show()':
C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp:2134:24: error: 'g_ADigitalPinMap' was not declared in this scope
pwm->PSEL.OUT[0] = g_ADigitalPinMap[pin];
^~~~~~~~~~~~~~~~
C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp:2187:24: error: 'digitalPinToBitMask' was not declared in this scope
uint32_t pinMask = digitalPinToBitMask(pin);
^~~~~~~~~~~~~~~~~~~
C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp:2187:24: note: suggested alternative: 'digitalPinToPinName'
uint32_t pinMask = digitalPinToBitMask(pin);
^~~~~~~~~~~~~~~~~~~
digitalPinToPinName
exit status 1
Error compiling for board Nicla Sense ME.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
============================================
mikeysklar on Mon Mar 28, 2022 5:41 pm
The Nicla Sense is a nRF52832 (M4 core) board. It looks quite similar to the myNewt that Adafruit has been selling.
You can open an issue requesting support through the NeoPixel github library repo. It might be a matter of adding a board identifier and possibly some pin assignments. The NRF52 / NRF52840 board identifier is already in place in the library.
===============================
So many thanks for any help..
Regards
The text was updated successfully, but these errors were encountered: