Skip to content

Instantly share code, notes, and snippets.

@teaplanet
Created August 13, 2012 14:31
Show Gist options
  • Select an option

  • Save teaplanet/3341241 to your computer and use it in GitHub Desktop.

Select an option

Save teaplanet/3341241 to your computer and use it in GitHub Desktop.
confirm loop function.
const long SPEED = 2400; // connection speed
void setup() {
Serial.begin(SPEED);
}
void loop() {
Serial.println("loop");
count();
}
void count() {
for (int i=0; i<10; ++i) {
Serial.println(i);
delay(300);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment