This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |