Framework (A-Z)

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.


. (dot)

void setup() {
  Serial.begin(9600); // calls the begin() method for Serial
  Serial.println("Hello world!"); // calls the println method for Serial

void loop() {

Description Provides access to an object's methods and data. An object is an instance of a class or datatype and contains is a grouping of methods (object functions) and data (object variables and constants). The dot operator directs the program to the information encapsulated within an object.
object the object you want to access
method() method encapsulated in the object
data variable or constant encapsulated in the object
Usage Application
Updated on July 07, 2011 11:08:10pm PDT

Creative Commons License