|
@@ -1,22 +1,15 @@
|
|
|
#include "all-headers.h"
|
|
|
|
|
|
-// Led L2 is connected to PORTD:7 (active high)
|
|
|
-
|
|
|
void setup (USER_MODE) {
|
|
|
- // Nothing to set up
|
|
|
-}
|
|
|
-
|
|
|
-void loop (USER_MODE) {
|
|
|
// Start
|
|
|
digitalWrite(L0_LED, true);
|
|
|
+}
|
|
|
|
|
|
+void loop (USER_MODE) {
|
|
|
// Wait...
|
|
|
busyWaitDuring(MODE_ 500);
|
|
|
|
|
|
// Shut down
|
|
|
- digitalWrite(L0_LED, false);
|
|
|
-
|
|
|
- // Wait...
|
|
|
- busyWaitDuring(MODE_ 500);
|
|
|
+ digitalToggle(L0_LED);
|
|
|
}
|
|
|
|