import display_tlc1549_value
import time

while True:
    display_tlc1549_value.readValue()
    time.sleep(0.2)

Beispiel #2
0
	def getValue():
		response.content_type = "application/json"
		valueJson = { "value": tlc1549.readValue() }
		return dumps(valueJson)