Index
 
  Reference for Wiring 1.0 (ALPHA) 0017+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
Name  

#include

   
Examples  
 
#include <LiquidCrystal.h>  // includes the LiquidCrystal library in the sketch 
 
LiquidCrystal myDisplay = LiquidCrystal(8,9,10,2); 
int a = 0; 
 
void setup() 
{ 
} 
 
void loop() 
{ 
  myDisplay.clear(); 
  myDisplay.home(); 
  myDisplay.print("Variable a is: "); 
  myDisplay.setCursor(16, 0); 
  myDisplay.print(a); 
  a = a + 1; 
  delay(200); 
} 
 

Description   the #include directive is used to import an external library into a sketch. An #include directive is automatically added to the sketch after using the Sketch/Import Library menu and selecting a library to include. Note the directive special syntax, unlike other wiring comands it doesn´t ends with a semicolon.

#include 지시어는 sketch 로 외부 라이브러리를 들여올 때 사용합니다. #include 지시어는 Sketch/Import Library 메뉴를 사용하여 포함시킬 라이브러리를 지정하면 자동적으로 sketch 에 포함됩니다. 지시어의 특별한 문법때문에 세미콜론을 사용하지 않습니다.

   
Syntax  
#include <library_include_file_name>
   
Parameters  
 

 

   
Returns  
   
Usage   Application