   analogWrite(P_LED_VCC, LED_VCC_PWM);
 }
 
+void threadCallback() {
+  
+  shiftOut();
+}
+


//Array keeping track of states
uint8_t states[NUMBER_OF_BITS];

void setup() {
  Serial.begin(115200);

#include <Thread.h>
#include <ThreadController.h>

//CONSTANTS
const uint8_t P_LED_VCC = 5;
const uint8_t P_LED_DATA = 8;
