hello Im starting into programming and Im triying to program a pic to collect pulses, and for each pulse it accumulates 10 but when I start a new pulse sequence it repeats itself again and again till the memory fills up and gives error, the problem is that I cant make it add up, in the first cycle it adds up the total and stops when I put in the next it gives the proble, it doesnt add up to the total stored in the pics memory, also I have a function to give out 10 credits for every pulse it receives in anothr pin, and has a display totalizing the amount of pulses (credits) acumulated).
my problem is that I cant acumulate another set of pulses after the first come in, and it doesnt add up. please can anybody help? if its a problem I can offer compensation for the time, thanks!!