Heroic Robotics / SD600A

Fork of SD600A by Heroic Robotics

Revision:
14:908869a15f5a
Parent:
13:875eb971d6c6
Child:
15:2733cd5f34e4
--- a/SD600A.cpp	Wed Oct 10 06:07:35 2012 +0000
+++ b/SD600A.cpp	Wed Oct 10 06:34:48 2012 +0000
@@ -53,6 +53,9 @@
 void SD600A::begin(void) {
     // Issue initial latch to 'wake up' strip (latch length varies w/numLEDs)
     idletoggle.detach();
+    // set the Ticker interrupt to the highest possible priority; reduce ethernet irq priority
+    NVIC_SetPriority(TIMER3_IRQn, 0);
+    NVIC_SetPriority(ENET_IRQn, 1);
     for (int i=0; i<numLEDs; i++) {
         write(0);
         write(0);