Last active
July 10, 2018 23:58
-
-
Save gguuss/8202d4afc0830f8a4f5beb62a1408097 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
Serial.begin(115200); | |
delay(1000); | |
Serial.println("Hello, waiting..."); | |
delay(5000); | |
pinMode(LED_BUILTIN, OUTPUT); | |
digitalWrite(LED_BUILTIN, HIGH); | |
// Initialize hardware | |
if (hasStrip) { // used for blinken | |
blinkySetup(); | |
} | |
blinkTimes(3); | |
delay(500); | |
setupRanger(); | |
blinkTimes(2); | |
delay(500); | |
hexbug_spider_setup_pin(IR_LED); | |
#ifdef HWTEST | |
while(true) { | |
testHardware(); | |
delay(1000); | |
} | |
return; | |
#endif | |
// Setting up WIFI | |
blinkTimes(1); | |
setupWifi(); | |
// Donion rings | |
blinkTimes(4); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment