Speed tweek for gpioSetValue
[hackover2013-badge-firmware.git] / main.c
diff --git a/main.c b/main.c
index 132f1fe..99f192a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -7,7 +7,7 @@
 
     Software License Agreement (BSD License)
 
-    Copyright (c) 2011, microBuilder SARL
+    Copyright (c) 2012, microBuilder SARL
     All rights reserved.
 
     Redistribution and use in source and binary forms, with or without
@@ -36,6 +36,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <time.h>
 
 #include "projectconfig.h"
 #include "sysinit.h"
@@ -43,8 +44,6 @@
 #include "core/gpio/gpio.h"
 #include "core/systick/systick.h"
 
-#include "drivers/displays/segment/as1115/as1115.h"
-
 #ifdef CFG_INTERFACE
   #include "core/cmd/cmd.h"
 #endif
@@ -62,25 +61,7 @@ int main(void)
 
   uint32_t currentSecond, lastSecond;
   currentSecond = lastSecond = 0;
-
-  // lcdTest();
-
-
-  // as1115Test();
-
-  uint8_t displaybuffer[8];
-
-  displaybuffer[0] = 0x01 | 0x80;
-  displaybuffer[1] = 0x02 | 0x40;
-  displaybuffer[2] = 0x04 | 0x20;
-  displaybuffer[3] = 0x08 | 0x10;
-  displaybuffer[4] = 0x10 | 0x08,
-  displaybuffer[5] = 0x20 | 0x04;
-  displaybuffer[6] = 0x40 | 0X02;
-  displaybuffer[7] = 0x80 | 0X01;
-
-  as1115WriteBuffer(displaybuffer); 
-
+  
   while (1)
   {
     // Toggle LED once per second
This page took 0.02129 seconds and 4 git commands to generate.