1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00

Added delayMicro()

This commit is contained in:
David A. Mellis 2005-09-20 13:47:51 +00:00
parent 59adc64ba6
commit 278d609ef2
2 changed files with 6 additions and 0 deletions

View File

@ -267,6 +267,11 @@ void delay(unsigned long ms)
timerPause(ms);
}
void delayMicro(unsigned long us)
{
delay_us(us);
}
int main(void)
{
sei();

View File

@ -57,6 +57,7 @@ typedef uint8_t byte;
void delay(unsigned long);
void delay_ms(unsigned short ms);
void delayMicro(unsigned long us);
void pinMode(int, int);
void digitalWrite(int, int);
int digitalRead(int);