This is a clock. Could be a host of engine parameters.
This updates the VGA display every half second.
It shows how to use the super simple hard ware interrupt on the Maximite
Requires 2.5 msec.
Mode 1
SetPin 19, 8 'setpin 19 to output
SetTick 500, doit 'set the interrupt to every half second AKA 500 msec
Pin(19) = 0 'set pin 19 low just in case
twiddle: ' do nothing. The EFI work would be done in here.
Print " ";
GoTo twiddle
doit: 'upon half second hardware interrupt
Pin(19) = 1 'pin 19 high for scope measurement
Pin(19) = 0
Cls 'clear the VGA screen
Locate 30, 30 'Put the clock at column 30 row 30
Print Time$ 'Print the battery backed up real time clock
Pin(19) = 1 'scope trigger
Pin(19) = 0
IReturn 'interrupt routine done. go back to twiddle
This stuff is a lot of fun. I try to do a little bit every day for practice.
Paul Lamar
The Rotary Engine News Letter. Powered by Linux.
ACRE NL web site.
http://www.rotaryeng.net
You Tube
http://tinyurl.com/beqqxas
Copyright 1998-2015 All world wide rights reserved.