drbitboy
Lifetime Supporting Member
Ah. Hilarious. My dad used to have an anemometer on a windsurfer mast strapped to the side of his van, sampled by a timex 2068 powered by the van battery, so he could estimate the right size of sail to rig.
Then how about this:
?
array_breakpoints is a DINT[15] and contains the 15 clockwise breakpoints, from SE=>ESE at around -8000 in array_breakpoints[0] to S=>SSE at around 28000 in array_breakpoints[14].
There are other ways e.g.
Then how about this:
OTU ctlFAL.EN OTU ctlAVE.EN
FAL ctlFAL 15 0 ALL array_15s[ctlFAL.POS] (raw > array_breakpoints[ctlFAL.POS]) * 15 AVE array_15s[0] a_DINT ctlAVE 15
array_breakpoints is a DINT[15] and contains the 15 clockwise breakpoints, from SE=>ESE at around -8000 in array_breakpoints[0] to S=>SSE at around 28000 in array_breakpoints[14].
There are other ways e.g.
CLR a_DINT CLR index
LBL loop BST GRT raw array_breakpoints[index] ADD a_DINT 1 a_DINT
NXB ADD index 1 index LES index 15 JMP loop
BND