User Tools

Site Tools


raspberry-pi-pico-bluetooth-led

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
raspberry-pi-pico-bluetooth-led [2022/02/10 21:45] adminraspberry-pi-pico-bluetooth-led [2022/02/10 22:15] – [Send commands] admin
Line 6: Line 6:
  
 {{:radiopico-bluetooth-led.png?400|}} {{:radiopico-bluetooth-led.png?400|}}
 +
 +{{ ::radiopico-bluetooth-led.fzz |}}
  
 ===== The Code ===== ===== The Code =====
Line 87: Line 89:
 Download the [[https://github.com/micropython/micropython/blob/master/drivers/neopixel/neopixel.py|neopixel.py]] module. Download the [[https://github.com/micropython/micropython/blob/master/drivers/neopixel/neopixel.py|neopixel.py]] module.
  
 +===== Send commands =====
 +
 +https://play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal&hl=de&gl=US
 +
 +Turn on
 +
 +  {"command": "on", "data": {"r": 255, "g": 255, "b": 255, "brightness": 100}}
 +
 +Turn off
 +
 +  {"command": "off"}
 +
 +Get LED state:
  
 +  {"command": "status"}
raspberry-pi-pico-bluetooth-led.txt · Last modified: 2022/02/10 23:42 by admin