View Full Version : How to return values and files from object-exchange objects?
11-18-2010, 02:48 AM
After reading the propeller manual I have an idea of how to call an object inside of another object, but not how to make it return the values or files I need. It would be helpful if someone could give me a few pointers, or let me know if there are any critical problems they see in my present code.
11-18-2010, 03:15 AM
The program you posted has quite a few syntax errors. Try straighting those up first using the prop tool to point them out.
11-18-2010, 03:22 AM
It's pretty simple
In the objects you use you will see available external functions with PUB declarations.
There you see the needed inputs, and at the bottom of the function you should see the return result.
Often objects need to be started before full use (serial, SD, keyboard...)
11-18-2010, 05:23 AM
Thanks for the help, it is more clear now, and I will modifiy my program tomorrow.