354.FIRST
29-01-2007, 23:04
All,
We have been using MPLAB and have made the move to EASY C.
I am personally much more comfortable in MPLAB, but using EASY C will allow us to include more people in the coding process.
Here's my question: Can someone explain how loops work in Easy C? In MPLAB it seems pretty obvious to me between the get data and put data... I would never put an infinite loop. In EasyC there are all sorts of infinite loops. I don't understand this...
For example in the kickoff demo code... in SeekLight it says while(!done). But I cannot find any change to done... Similarly the While(1) in autonomous as well as the While(1) stump where the writer suggests you "put tube delivery code here"
HELP!
I'm trying to make the camera seek the light when it does not see any light and I am stuck understanding these loops.
Thank you all very much.
-354 programmer
We have been using MPLAB and have made the move to EASY C.
I am personally much more comfortable in MPLAB, but using EASY C will allow us to include more people in the coding process.
Here's my question: Can someone explain how loops work in Easy C? In MPLAB it seems pretty obvious to me between the get data and put data... I would never put an infinite loop. In EasyC there are all sorts of infinite loops. I don't understand this...
For example in the kickoff demo code... in SeekLight it says while(!done). But I cannot find any change to done... Similarly the While(1) in autonomous as well as the While(1) stump where the writer suggests you "put tube delivery code here"
HELP!
I'm trying to make the camera seek the light when it does not see any light and I am stuck understanding these loops.
Thank you all very much.
-354 programmer