Sketch for Neopixel Bluetooth app

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
justmobilize
 
Posts: 25
Joined: Sat Feb 06, 2016 8:58 pm

Sketch for Neopixel Bluetooth app

Post by justmobilize »

Does anyone know where the sketch for bluetooth neopixel module is? I want to control a neopixel featherwing, but can't find it.

I'm not looking for this one: https://github.com/adafruit/Adafruit_Bl ... xel_picker

It's the once that you can set the grid size.

User avatar
oesterle
 
Posts: 806
Joined: Tue Sep 17, 2013 11:32 pm

Re: Sketch for Neopixel Bluetooth app

Post by oesterle »

Hi, justinmy!

Theres a neomatrix example that works with the nRF52 Feathers: If you have the board support package for those boards installed, it's in:
File > Examples > Adafruit Bluefruit nRF52 Libraries > Peripheral > neomatrix

It's also on GitHub: adafruit/Adafruit_nRF52_Arduino… neomatrix

It will need a little modification if you're working with a different Bluetooth LE chip/library, like an nRF51 or nRF8001.

Which BLE are you using?

Cheers,

Eric

User avatar
justmobilize
 
Posts: 25
Joined: Sat Feb 06, 2016 8:58 pm

Re: Sketch for Neopixel Bluetooth app

Post by justmobilize »

Ahhh, I'm using the nRF51, since I have a bunch of them.

Is there anything stopping it from being ported? Other then time?

User avatar
oesterle
 
Posts: 806
Joined: Tue Sep 17, 2013 11:32 pm

Re: Sketch for Neopixel Bluetooth app

Post by oesterle »

Yeah, likely time and an enthusiastic contributor. Maybe you can get it working, and submit a pull request!

Come back here if you get stuck.

User avatar
justmobilize
 
Posts: 25
Joined: Sat Feb 06, 2016 8:58 pm

Re: Sketch for Neopixel Bluetooth app

Post by justmobilize »

Already started working on it. I can get the `commandVersion` call to succeed, but even though the Android app should be sending a `commandSetup` command, it never does.

User avatar
justmobilize
 
Posts: 25
Joined: Sat Feb 06, 2016 8:58 pm

Re: Sketch for Neopixel Bluetooth app

Post by justmobilize »

Nevermind. Figured it out. Had grabbed other code that had `ble.waitForOK()`. Took that out and moving along

User avatar
justmobilize
 
Posts: 25
Joined: Sat Feb 06, 2016 8:58 pm

Re: Sketch for Neopixel Bluetooth app

Post by justmobilize »


Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”