Flywheel/Encoder patterns
Mike Turner
MikeTurner at kemet.com
Mon Dec 9 14:02:29 GMT 1996
On the problem of being in mid-update and getting weird results, you could use
two sets of tables with a pointer to the current table. The pointer is used by
the interrupt handlers. The foreground calculation routine uses the table the
pointer does not point to and updates the pointer when the calcs are done to
point to the new table data. The expense here is using indexed addressing vs.
direct addressing.
More information about the Diy_efi
mailing list