Understanding the language, error messages, etc.
Fri Jun 13, 2014 11:30 am
I'm just getting into C++ and I would like to know about the arduino library. I could not find the page any where. My simple question is the syntax for if and for and all those other commands other than those commands like "cout" and "cin", are they the same in arduino?
Fri Jun 13, 2014 1:01 pm
Gamebuino's code is compiled using avr-gcc, wich doesn't provide all the functions from C/C++.
Take a look at the
Arduino Reference and the
Gamebuino Reference to know which functions are available.
Fri Jun 13, 2014 1:28 pm
also just to point out cout and cin are part of standard library wich are more a thing for comand line stuff we dont realy have that,
but u can use this to display text on the lcd
- Code:
gb.display.print("text");
u can find this and more in the
gamebuino reference
Fri Jun 13, 2014 3:19 pm
Thanks, I already saw the gamebuino library, but my search engine could not find "arduino" at all. The link connected, at least. I kinda did not know where to go so if the syntax for Arduino is like C++, I am ready to start making programs.
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.