In article , Daniel James wrote:
>> My question is, where should one begin with Arduinos?
I meant to add ... you will read that an Arduino "sketch" is written in
"the Arduino language". This is really just C++, but Arduino programs
don't have a main() function, they have a setup() function that is
called once, and a loop() function that is called repeatedly while the
program runs.
The standard Arduino IDE uses the gcc toolchain, cross-compiling for
whatever CPU the target board has, so it's a fairly modern version of
C++. It has support for recent language features such as constexpr and
lambda functions, which can help keep the generated code small.
Don't expect to be able to use e.g. STL containers on some of the
smaller devices, though, they don't have the memory. Even the more
powerful Arduinos are a lot less powerful than a Pi.
--
Cheers,
Daniel.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|