have you programmed anything in any sort of assembler before? how about C?
look at the free documentation for the different devices, pick the one that makes the most sense to you.
this sort of task sounds like to could be done using a $3 microcnopntoller chip and a few dollars worth of extra bits.
A setup where the chip can be reprogrammed while still attached to the device is desirable. especially if you get the program wrong a few hundered times...
Bye. Jasen