Modifications

Sauter à la navigation Sauter à la recherche
Ligne 64 : Ligne 64 :  
Button 3 released</nowiki>
 
Button 3 released</nowiki>
    +
== Sélection de couleur ==
 +
You can also send RGB color data via the '''Color Picker module''', which presents the following color selection dialogue:
    +
{{ADFImage|Bluefruit-LE-Shield-Controller-50.jpg}}
 +
 +
This will give you Hexadecimal color data in the following format:
 +
 +
<nowiki>RGB #A42FFF</nowiki>
 +
 +
{{#Widget:Iframe
 +
|url=https://youtu.be/Kym6crZF1Pg
 +
|width=560
 +
|height=315
 +
|border=0
 +
}}
 +
 +
You can combine the color picker and controller sample sketches to make color-configurable animations triggered by buttons in the mobile app-- very handy for wearables! Download this combined sample code (configured for Feather but easy to adapt to FLORA, BLE Micro, etc.) to get started:
 +
 +
{{download-box|feather_bluefruit_neopixel_animation_controller.zip|https://learn.adafruit.com/system/assets/assets/000/029/260/original/feather_bluefruit_neopixel_animation_controller.zip?1450791688}}
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation