Psi Swarm robot library version 0.9

Fork of PsiSwarmV9 by Psi Swarm Robot

Revision:
9:dde9e21030eb
Parent:
8:6c92789d5f87
Child:
10:e58323951c08
--- a/psiswarm.cpp	Sun Oct 16 12:54:33 2016 +0000
+++ b/psiswarm.cpp	Sun Oct 16 14:12:49 2016 +0000
@@ -26,6 +26,7 @@
 Display display;  //Connects to i2c(p28,p27), reset(p29), backlight(p30)
 Motors motors;
 Eprom eprom;
+Led led;
 
 //Setup MBED connections to PsiSwarm Robot
 Serial pc(USBTX,USBRX);
@@ -201,7 +202,7 @@
     debug("- Setting up PIC microcontroller\n");
     // IF_check_pic_firmware();
     debug("- Setting up LED drivers\n");
-    IF_init_leds();
+    led.IF_init_leds();
     if(IF_setup_led_expansion_ic() != 0) {
         debug("- WARNING: No I2C acknowledge for LED driver\n");
         system_warnings += 1;