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  

delayMicroseconds()

   
Examples  
int pin = 0; 
int ledpin = 1; 
 
void setup() { 
  pinMode(pin, INPUT); 
  pinMode(ledpin, OUTPUT); 
} 
void loop() { 
  if(pin == HIGH) { 
    digitalWrite(ledpin, HIGH); 
  } else { 
    digitalWrite(ledpin, LOW); 
  } 
  delayMicroseconds(250);  // Stops the program for 250 microseconds 
} 

Description   Forces the program to stop running for a specified time. Delay time is specified in millionths of a second. The function call delayMicroseconds(3000) will stop the program for three milli seconds or 0.003 seconds.

프로그램의 실행을 지정한 시간동안 정지합니다. delayMicroseconds(3000)은 프로그램의 흐름을 3밀리초( 또는 0.003초)동안 정지 시킵니다.

   
Syntax  
delayMicroseconds(microseconds)
   
Parameters  
microseconds   long: specified as microseconds (there are 1000000 microseconds in 1 second)

마이크로 초단위의 숫자 ( 1000000 마이크로 초는 1 초가 됩니다.)
   
Returns   None
   
Usage   Web & Application
   
Related   delay()