|
Re: Help Autonomous code not working
1: You say it doesn't work, but that isn't enough information. Tell us what you expect it to do, and tell us what it's doing instead.
2: Put code between [ code ] and [ /code ] tags when you post it here. It will preserve the formatting.
3: Don't use delay loops the way it looks like you're trying to. If you take too long before calling the Putdata() function, the master CPU assumes your code is hung and signals a code error. You'll need to figure out how to execute the complete while (autonomous_mode) loop without pausing in the middle.
|