Skip to content

Fixed Timers for BASIC

Choose a tag to compare

@dtremblay dtremblay released this 04 May 19:39
· 4 commits to master since this release

Fixed timers such that the "timer()" function in BASIC works. If the period doesn't match 1000/clock, then the increment is adjusted based on frequency.

A good example is:

5 count=0
10 repeat
20 if event(event1,70) then print "Hi ",count," ";:count=count+1
30 until false