modified pi server to turn on/off leds based on mindwave data