Hi again,
On the second phase of my personal project I hope to be able to create a sequence clock, my example is a PYUI with two items - a field for a constantly running digital clock, and a start button. Eventually the screen will have different events announced on screen as their time approaches.
But as you may have guessed the clock only updates on each press of the button. Can anyone steer me? I'm hoping it is a quick fix, I can't get my head around .self.
Thanks, Alan
import ui
import time
def startSequence(sender):
for loop in range(1,3): # a test number
currentTime=time.localtime(time.time())
v['masterClock'].text=time.strftime("%H:%M:%S",currentTime)
# view of the UI is called here
v = ui.load_view('Sequence Timer')
v.present(orientations=['landscape'])