Hi Buccaneers,
I am touching my Skywriter but it registers about 3 or sometimes 4 touches in one touch, very sensitive or I have pudding fingers!
Is there a way to delay the recognition of the next touch?
This is what I have so far
Many thanks
import skywriter
import signal
import time
global lasttouch
lasttouch = 0
if int(round(time.time()*1000))-lasttouch>100:
global lasttouch
@skywriter.touch() def touch(position1): #time.sleep(1) print('Touch!', position1) if position1 == 'west': print "WESTSIDE" elif position1 == 'east': print "EASTSIDE"
lasttouch = int(round(time.time()*1000))
signal.pause()