G'day all,
Its 3AM here so my mind is working on overdrive but....
Im looking at making a single servo controller from an 08M that monitors a shaft speed and adjusts the servo position based on a lookup of the shaft speed...easy enough so far, just select a set of ranges and number them, determine which range the speed is in and lookup a value - bingo. BUT...
I want the values for servo control output to be programmable via serial cable - so I send a string like "8 11 15 22 28 21 30 60 100" to the 'axe via serial DL cable and try it...if it doesnt work as planned i send "8 11 15 22 28 32 39 50 130" and it adjusts the table. Finally I need these to be non-volatile so its read/write time - ive no experience of these yet.
Oooh what fun! So, what pitfalls should I try to avoid?
Its 3AM here so my mind is working on overdrive but....
Im looking at making a single servo controller from an 08M that monitors a shaft speed and adjusts the servo position based on a lookup of the shaft speed...easy enough so far, just select a set of ranges and number them, determine which range the speed is in and lookup a value - bingo. BUT...
I want the values for servo control output to be programmable via serial cable - so I send a string like "8 11 15 22 28 21 30 60 100" to the 'axe via serial DL cable and try it...if it doesnt work as planned i send "8 11 15 22 28 32 39 50 130" and it adjusts the table. Finally I need these to be non-volatile so its read/write time - ive no experience of these yet.
Oooh what fun! So, what pitfalls should I try to avoid?