I need help building an ammo counter for my pulse rifle, I need help with:
A) parts list of what I'll need,
B) designing working code,
it will need to meet the following criteria:
1) when the trigger is pulled counter decreases by four
2) after a switch is activated, when the trigger is held it decreases at a speed of 900/min until:
a) the trigger is released,
b) the counter is empty
3) the trigger does nothing when the counter is 00
4) when the ammo clip is removed the counter turns off
5) when the clip is put back in the counter starts at 99 then drops to 95
I really appreciate any help you can give me as I've never worked with electronics before