Closed
Description
While playing with sdfat library found sketch was hanging on test for micro(). Running the following simple test sketch shows micros() always returns 0:
unsigned long time;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("Time:");
time = micros(); //prints time since program started
Serial.println(time); // wait a second so as not to send massive amounts of data
delay(1000);
}
RETURNS:
Time:0
Time:0
Time:0
Time:0
Time:0
Time:0
will look more later but off to do other things. Think @facchinm did a pr on the giga for time functions.
Metadata
Metadata
Assignees
Labels
No labels