dyvardana / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

adding a delay before sending commands to serial port #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I would like to be able to do the following:

The client side HTML would send 3 or 4 separate command strings to the webiopi 
very quickly one after the other, or even all at once.

but I need the local pi script to write the strings to the serial port 
separately, adding a 5 seconds delay between strings.

I tested the software, and I am seeing that it currently buffers the commands - 
if I send 3 long commands quickly, it will store them and send them one after 
the other without interrupting the previous string in the middle,
which means it should be quite simple to add a delay between each writing to 
the serial port,

where do i do this ?

Thank you !

Original issue reported on code.google.com by avnerric...@gmail.com on 13 Oct 2013 at 4:59

GoogleCodeExporter commented 9 years ago
Use macros !

Original comment by tro...@trouch.com on 27 Nov 2013 at 9:14