comparison lib/devices_shared/devices_shared.py @ 634:1ffe5ef470e5

typo in xsd: namespace for led strips Ignore-this: eb8df937d916bff3691e12ba7e78bec
author drewp@bigasterisk.com
date Mon, 12 Aug 2019 02:21:01 -0700
parents b04155f191f9
children
comparison
equal deleted inserted replaced
633:42dab8c6200a 634:1ffe5ef470e5
2 import numpy 2 import numpy
3 import logging 3 import logging
4 import imageio 4 import imageio
5 from rdflib import Namespace, RDF, URIRef, Literal 5 from rdflib import Namespace, RDF, URIRef, Literal
6 6
7 XS = Namespace('http://www.w3.org/2001/XMLSchema#double') 7 XS = Namespace('http://www.w3.org/2001/XMLSchema#')
8 ROOM = Namespace('http://projects.bigasterisk.com/room/') 8 ROOM = Namespace('http://projects.bigasterisk.com/room/')
9 log = logging.getLogger() 9 log = logging.getLogger()
10 10
11 def _rgbFromHex(h): 11 def _rgbFromHex(h):
12 rrggbb = h.lstrip('#') 12 rrggbb = h.lstrip('#')