Light in nosepoke holes

55 views
Skip to first unread message

Renée Poelman

unread,
Aug 26, 2022, 4:41:37 AM8/26/22
to FEDforum
Hi Lex!
I am working on the same project with the FED3 as Marie le May. 
I know the FED3 has the option for a light cue inside the nosepoke hole, and it seems like our FEDs have these lights mounted into the nosepokes.
My question is: how do I code for these lights to turn on? And can I manipulate them in the same way as the LED light strip on the FED?
Best,
Renée

Lex

unread,
Aug 26, 2022, 8:37:10 AM8/26/22
to Renée Poelman, FEDforum
Hi Renée!  Yes if your board came from OEPS and has v7.1 or v7.2 printed on it it will have the poke lights!  There are functions in the FED3 library to turn them on:
  • fed3.leftPokePixel(R, G, B, W): Turn on neopixel inside the left poke 
  • fed3.rightPokePixel(R, G, B, W): Turn on neopixel inside the rightpoke.  
Here is an example usage:
fed3.rightPokePixel(0, 0, 10, 0);  //Pixel in right poke light up dimly in blue
You will need to call this function to turn them off:
  • fed3.pixelsOff(): Turn all Neopixels off

Let me know if this is enough info for you to get started with them!  
-Lex

--
You received this message because you are subscribed to the Google Groups "FEDforum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedforum+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fedforum/bca0570c-b0f9-46aa-b93b-e6e87537aab2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages