Level von mcsilver -- braucht Modifikation wegen neuer Physik.
[hackover2013-badge-firmware.git] / badge / main.c
index 5f7fde3..4e878f5 100644 (file)
@@ -65,6 +65,7 @@
 #include "drivers/fatfs/ff.h"
 
 #include "badge/pinconfig.h"
+#include <funk/nrf24l01p.h>
 
 #ifdef R0KET
 
@@ -203,10 +204,14 @@ int main(void)
   badge_init();
 #endif
 
+  /*
+  nrf_init();
+
   for(uint8_t i = 1; ; ++i) {
     badge_framebuffer fb = { { { 0 } } };
 
     fb.data[2][86] = 0xff;
+    fb.data[3][87] = nrf_read_reg(R_CONFIG);
     fb.data[4][86] = 0xff;
     for(uint8_t j = 0; j < i; j += 3) {
       fb.data[3][j / 3] = 0xff;
@@ -216,6 +221,7 @@ int main(void)
     badge_framebuffer_flush(&fb);
     systickDelay(200);
   }
+  */
 
   {
     //    f_mkfs(0, 1, 0);
This page took 0.019512 seconds and 4 git commands to generate.