Closed DirtyEngineer closed 4 years ago
I am glad to hear you could get xenon working with our repo, however we don't provide detailed technical support for boards that are not made by Adafruit. Though we are more than happy to accept PRs from Particle user.
It's not technical support, it's an issue with code that you accepted a pull request for.
@DirtyEngineer hi please submit a fix PR and we'll take a look!
I'm trying to figure it out. Maybe @outlandnish from the original Particle Xenon support #317 can take a look as well.
I've got a fix for it, but I hadn't done a PR for it. I'll push the changes later today
Created a PR (https://github.com/adafruit/Adafruit_nRF52_Arduino/pull/435) to add more intuitive ways of controlling the LEDs (as well as the boards.txt file)
@outlandnish Thank you!
With the recent news from Particle regarding the Xenon I have migrated to using the Adafruit bootloader as they suggested by Particle. Exploring this package I found that it does indeed have the variant framework to support programming via the Ardunio IDE (Particle Xenon support #317). All that was needed is to add it to the board.txt file.
boards.txt
Sweet, the board programs without issue. This is great! The problem is that there's an issue with accessing the onboard LED's. From my understanding the way to access them is with;
This should control these pins respectively;
The blink example will compile but does not toggle any of the LEDS's using the LED_XXXXX terms above. I can get the built in LED to toggle by using the blink example with Digital pin 7 as they use the same pin but I can't seem to find a way to access the RGB LED's on the board.