The simple program below compiles correctly if I use millis() in the
line with the comment "this line is the problem". But if I use micros() in the exact same spot as shown, then I get the compile error message "error - micros was not declared in this scope" I tried it several times and I don't think I have a typing error or strange character in the line. Why won't micros() compile? (I assume this is a simple problem that I am just not seeing - thanks for your help. I'm using Arduino 12 Alpha, if that matters)
/*
TimerMicro - Test micros() to see how long it takes
/
unsigned long timearray[10];
void setup() { }
void loop() {
for (int i=0; i<=9; i++) {timearray= micros(); //this line is the problem*
}
}