Originally Posted by buttertoad
the wx timer will continuously run unless you set the oneShot flag...i think you want to keep it running so just point the timer to your function and call the timer start in your wx class __init__
you can also run multiple timers simultaneously if you have other things that need to be updated. off the top of my head it would look something like this:
ID_TIMER = 100
self.Bind(wx.EVT_TIMER, self.ReadSerial, self.timer)
#more wx stuff
#code to read the serial port and update statictext
this should loop the ReadSerial every 10 seconds indefinitely or until you stop the program.