user642: I am getting the error "error: expected unqualified-id before 'do'" multiple times for every do{
}while(); loop I have... Any help?
Pastebin:http://pastebin.com/DubuAEUs

user136: The do whiles are outside of the setup() or loop(), so they won't work. 
I would suggest doing a simple C/C++ tutorial like this one to get up to speed with how things work.

642: <p>I am getting the error "error: expected unqualified-id before 'do'" multiple times for every do{
}while(); loop I have... Any help?</p>

<p>Pastebin:<a href="http://pastebin.com/DubuAEUs" rel="nofollow">http://pastebin.com/DubuAEUs</a></p>
 136: <p>The do whiles are outside of the setup() or loop(), so they won't work. </p>

<p>I would suggest doing a simple C/C++ tutorial like <a href="http://www.learn-c.org" rel="nofollow">this one</a> to get up to speed with how things work.</p>
