Skip to content

Instantly share code, notes, and snippets.

@ukBaz
ukBaz / BlueDotBlinktColorPicker.py
Created June 2, 2017 15:12 — forked from dglaude/BlueDotBlinktColorPicker.py
HSV color control of the Blinkt! from a Blue Dot.
#!/usr/bin/env python
from bluedot import BlueDot
import colorsys
import time
import blinkt
def move(pos):
# print("The Blue Dot x={} y={} d={} a={}".format(pos.x, pos.y, pos.distance, pos.angle))
h=((pos.angle+180) % 360) / 360