Quote:
|
Originally Posted by Dave Flowerday
I think what you're looking for is to assign a pointer to the correct array of autonomous commands based on some input at runtime.
|
Yeah, yeah...great fixer-her-upper. What we got Dave is some thumbwheels from digikey connected to the four inputs on a joyport. Using BCD (0-9), we can run up to 99 different automodes with eight inputs on two ports. I'll give your example a shot and see what we come up with...PS thanks alot for sharing your thoughts.
Next on the list is shaving more program FAT. Every time we turn around we are at our 32K limit...yuck...We aren't ready to get rid of the printf statements, we need those to debug but if it keeps it up, we are going to have to dump some printf to get more code packed in...