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.
Name |
. (dot) |
Examples |
void setup() {
Serial.begin(9600);
Serial.println("Hello world!");
}
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. |
Syntax |
object.method() object.data
|
Parameters |
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