Counting pulses when charger connected or disconnected.How is it done in MIt
Infact I am designing a counter in mit.
I have interfaces mobile charger cable with a machine .
it is generating pulses of 5 volts using mobile charger.
Now how can i count these pulses when my mobile is connected to the interface cable.