Esempio n. 1
0
 def POST(self):
     data = unicode(web.data(), 'utf-8').split("\n")
     LCD.clear_image(web.draw)
     for n, line in enumerate(data):
         web.draw.text((0, n*web.font_size[1]), line, font=web.font)
     LCD.render_display(web.disp, web.img)
Esempio n. 2
0
 def run(self):
     ex.render_display(self.d,self.img)