NEW 10 READCLOCK 11 B=S 12 A=D 13 IF A=B 10 14 D=S 100 B=9 101 A=H 102 IF A>B 104 103 PRINT "0" 104 PRINT H 105 PRINT ":" 106 A=M 107 IF A>B 109 108 PRINT "0" 109 PRINT M 110 PRINT ":" 111 A=S 112 IF A>B 114 113 PRINT "0" 114 PRINT S 115 PRINT 13 116 PRINT 10 150 A=S 151 IF A<>0 10 152 A=M 153 IF A=0 180 154 B=10 155 IF A=B 200 156 B=20 157 IF A=B 200 158 B=30 159 IF A=B 200 160 B=40 161 IF A=B 200 162 B=50 163 IF A=B 200 164 GOTO 10 180 PRINT "H" 181 PRINT 13 182 PRINT 10 183 GOTO 10 200 PRINT A 201 PRINT 13 202 PRINT 10 203 GOTO 10 this line and the lines below are comments and can be removed with a text editor or the errors caused by trying to upload them can be ignored ------------------------------- e-clock.tmb For ENHANCED Tiny Machine Basic Demonstrates how to display real time clock formatted as HH:MM:SS, and how to run different routines based on time. Runs one routine on the hour and another routine at other 10 minutes intervals