def yl83_read():
	rainfall = mcp.readAnalog(0, 1)
	return {'rainfall' : rainfall}
示例#2
0
def mq135_read():
	api = mcp.readAnalog(0, 0)
	return {'API':api}
def yl83_read():
    rainfall = mcp.readAnalog(0, 1)
    return {'rainfall': rainfall}