2 ms·
Long ago, I had a Motorola 68HC11 CPU with 512 bytes of EEPROM to store code in.... I had a pulse input that needed to be scaled to a different frequency, I end
by mikewarot 4y ago
Long ago, I had a Motorola 68HC11 CPU with 512 bytes of EEPROM to store code in.... I had a pulse input that needed to be scaled to a different frequency, I ended up using a phase accumulator to build a phase locked loop, in about 40 instructions or so (looking back, it's hard to be sure)... when I was done, I had a machine that could adapt to a wide range of line speeds, physical offsets, amounts of glue to apply, patterns, etc., while accommodating fixed timing delays, all in 511 bytes.