Tutorial: Introduction to the Arduino

From dftwiki3
Revision as of 14:27, 20 April 2011 by Thiebaut (talk | contribs) (An Introduction to C in the Arduino Context)
Jump to: navigation, search

--D. Thiebaut 15:18, 20 April 2011 (EDT)


The Reference Pages

Good Tutorials on the Web

Notes for Mac Users

An Introduction to C in the Arduino Context

Comments

// this is a comment
/* and so is this */
/* and
    this 
    as 
    well */

Setup() and Loop()

I/O

Output strings from the Arduino to Laptop

  • Done with the Serial library
  • Use Serial.begin() to set the baud rate (# of bits per second)
  • Then output strings with Serial.[[1]]( ... ) or Serial.[|print]( ... )