a 10msec delay is usually good enough to debounce a mechanical switch. i'm sorry i forgot to include it in the code i posted. i've amended the code i posted to include it
a 10msec delay is usually good enough to debounce a mechanical switch. i'm sorry i forgot to include it in the code i posted. i've amended the code i posted to include it