Nathan Yonkee / Mbed OS DotStar

Fork of DotStar by Suga koubou

Revision:
2:804574387573
Parent:
1:8ad764aed49f
Child:
3:7d7945d4f224
--- a/main.cpp	Thu Mar 17 03:09:59 2016 +0000
+++ b/main.cpp	Thu May 25 01:42:07 2017 +0000
@@ -3,13 +3,14 @@
  */
 
 #include "mbed.h"
+#include "rtos.h"
 
-#define LED_NUM 100
+#define LED_NUM 144
 #define LED_GLOBAL 31 // brightness 0-31
 #define LED_FREQ 500000 // spi
 
 DigitalOut myled(LED1);
-SPI spi(P0_21, P0_22, P1_15);
+SPI spi(PA_7, PA_6, PA_5);
 
 int led_buf[LED_NUM];