HudzonHawk
New Member
I need a little help with a project I'm working on. I know what it's supposed to do in my head, but I'm not entirely sure how to implement it.
Suppose you have a button and a lamp - every time the button is pressed, the lamp turns on. However, you want to limit the amount of times someone can turn on the lamp, so you connect a chip between the lamp and the button.
The chip stores a number, say 500, and every time the button is pressed the number goes down by one. And when it gets to zero, the lamp can't be turned on anymore.
At that point you have to take out the chip, and put it into a second device which can change the number from 0 to whatever you specify, thus allowing you to continue operating the lamp.
Any suggestions on what I should look into to make this possible?
Suppose you have a button and a lamp - every time the button is pressed, the lamp turns on. However, you want to limit the amount of times someone can turn on the lamp, so you connect a chip between the lamp and the button.
The chip stores a number, say 500, and every time the button is pressed the number goes down by one. And when it gets to zero, the lamp can't be turned on anymore.
At that point you have to take out the chip, and put it into a second device which can change the number from 0 to whatever you specify, thus allowing you to continue operating the lamp.
Any suggestions on what I should look into to make this possible?