Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned long currentTime = 0;
- void setup() {
- Serial.begin(9600);
- Serial.println("abc run\n");
- }
- void loop()
- {
- Serial.print("Time: ");
- currentTime = millis();
- //prints time since program started
- Serial.println(currentTime);
- // wait a second so as not to send massive amounts of data
- delay(1000);
- // then comment out delay and use delayMicroseconds
- // delayMicroseconds(50000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement