diff --git a/demos/ble-ws2812-card10.py b/demos/ble-ws2812-card10.py index 6216ea3bf85d65aea3e2c950aa004cdf0e166f32..977cb1244544116dcbd70b75d6b8e37eccf321bd 100644 --- a/demos/ble-ws2812-card10.py +++ b/demos/ble-ws2812-card10.py @@ -4,9 +4,9 @@ from micropython import const _IRQ_GATTS_WRITE = const(3) WS2812_SERVICE_UUID = \ - bluetooth.UUID("23230300-2342-2342-2342-234223422342") + bluetooth.UUID("23238000-2342-2342-2342-234223422342") SET_ALL = ( - bluetooth.UUID("23230301-2342-2342-2342-234223422342"), + bluetooth.UUID("23238001-2342-2342-2342-234223422342"), bluetooth.FLAG_WRITE ) WS2812_SERVICE = ( diff --git a/demos/ble-ws2812-host.py b/demos/ble-ws2812-host.py index b00ee7c842bf6bc6a6a8c843508db6b067128e5e..c798810a14a3057db0a822939df48ebc8c4360c1 100644 --- a/demos/ble-ws2812-host.py +++ b/demos/ble-ws2812-host.py @@ -3,9 +3,11 @@ import bluepy import time import colorsys + +# Change this to the MAC of your card10 p = bluepy.btle.Peripheral("CA:4D:10:01:ff:64") c = p.getCharacteristics( - uuid='23230301-2342-2342-2342-234223422342')[0] + uuid='23238001-2342-2342-2342-234223422342')[0] hue = 0 while 1: