Huntron tracker on LCD backpack


Author Message
Volhout

Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6261
Posted: 07:26am 12 Sep 2019      

A small update:

Have updated the code a bit, rather satisfied now (appart from the zoom that is still missing).

1/ speed (3 refresh / sec)
although not a lot can be achieved, I made following changes to minimize the refresh time
a/ use multiple single dimension arrays, that is faster than multi dimensional arrays
in stead of Dim x(200,2) use Dim x(200), xr(200)
b/ remove all comments from the loop (in a compiler that does not help, but the interpreter has to skip all the comment lines)
c/ move calculations out of the loop whenever possible

2/ resolution
everything scales to 1000 now, in stead of 100. That is clearly visible in the waveform (see picture).

Next I will implement the "zoom", and then update the layout and schematics (zoom has hardware impact).



Edited 2019-09-12 17:27 by Volhout
PicomiteVGA PETSCII ROBOTS