--
You received this message because you are subscribed to the Google Groups "WebIOPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webiopi+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
This error message tells you what is wrong. Changing the sleep time won’t help, but you already know that.
ValueError: invalid literal for int() with base 10: ''
What data type is stored in cv[0]? If it is a float or an empty string, then int() won’t work and you get the same error. If it is a string representing a decimal, try converting that first:
channel = int(float(cv[0]))
i already add webiopi.sleep(0.1) in python script but gives me same error
--
You received this message because you are subscribed to the Google Groups "WebIOPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webiopi+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
error again, help please this is my code:
line 28, in loop