??? 06/10/08 11:20 Modified: 06/10/08 12:07 Read: times |
#155674 - Setup Responding to: ???'s previous message |
I'm using a 89C51RD2 12clk with a 12MHz crystal.
My simulator shows a PISO clock of approx 80kHz. I'm using Bascom. I know : C is better but Bascom does everything I want to do. I'm reading the switches every 5ms. If a pressed switch has the same status for 8 consecutive readings ((40ms)) I process the switch. Reading : parallel load (latch) the switches. Shift in the result. repeat.... I have no need for higspeed sampling to detect very short pulses. |