Richard's way is the best. Just for referece it could also be done without asm since its not time sensitive.
Code:old_enc_counter var word Main_Loop: if enc_counter<> old_enc_counter then 'If change update LCD Lcdout $fe, 1 Lcdout Dec enc_counter ; display counter value on LCD old_enc_counter = enc_counter endif goto Main_Loop end
Bookmarks