Oky it's now woking since I replace gosub with the code itself , but i don't know what is the reason
Oky it's now woking since I replace gosub with the code itself , but i don't know what is the reason
Don't post you code just in case we could help![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
You're using a 16F877A...
If you check the PBP manual, you might see where it says that you can only nest a GOSUB so many levels deep. Maybe that was your problem...
You 'overnested' your GOSUBs and caused a stack overflow, which caused the program to either crash or reset.
Bookmarks