LEDEQ.py stolen from Sebastian