Psi Swarm robot library version 0.9

Dependents:   PsiSwarm_V9_Blank

Fork of PsiSwarmV9 by James Hilder

Revision:
19:3e3b03d80ea3
Parent:
18:9204f74069b4
Child:
20:2b6ebe60929d
--- a/psiswarm.cpp	Sun Jun 04 20:22:41 2017 +0000
+++ b/psiswarm.cpp	Mon Jun 05 22:47:14 2017 +0000
@@ -231,7 +231,12 @@
         if(firmware_version > 1.1) debug("- Boot Count: %d\n",boot_count);
     } else {
         debug("INVALID\n");
-        debug("- WARNING: Check firmware to enable robot features\n");
+        if(ENABLE_FIRMWARE_WRITER){
+            debug("- Starting firmware writer\n");
+            eprom.firmware_writer();
+        }else{
+            debug("- WARNING: Enable firmware writer in settings or use firmware writer program to set firmware\n");   
+        }
     }