djsfantasi
- Joined Apr 11, 2010
- 9,163
Did you use pin 5 before? You need to move both pins to new pins to be sure. You cannot use pins 4 & 5 in a new test. And if you used pin 3, I’d pick two new pins, that aren’t pins 3, 4 or 5.Hi ES Probably .......... I rewired the output to pin 3 from 5 incase it got damaged Re Kieth but no change. Now I extended the delay in Keiths code to delay (50) from (10) ......I watching it now and I will keep you updated
“Stalling” suggests to me that you have a memory overflow. The program updates a location in memory that is beyond defined locations. If myIndex equals 10, writing to anArray[myIndex] when you have the following definition:
char anArray[10];
Will overwrite code or values by mistake.
Or a similar problem. Such as having misplaced braces in the vicinity of a loop, like a “for” loop, which results in myIndex referencing an illegal memory location containing valid code or values.
This is the point I was trying to make in post #14. You didn’t respond so perhaps you didn’t understand.