I am building a arduino based light control system using VixenLights. Everything is working but in reverse. I have a POST test that runs through every light at starup and that works fine but in my loop() It seems when Vixen starts it makes all the lights go on, and when I mark sections in vixen to turn lights on it turns them off. I just need the system to work exactly opposite of the way it is.

Serial.print("System Ready"); turn_all_lights_off(); //All the lights come on by default, turn them off}

void loop(){ if (Serial.available() >= Channel_Count) { //for some reason after this point all the lights are on and vixen turns them off //I need for the lights to be off and vixen to turn them on as initiated by the program for (int channel_index=Pin_Offset; channel_index < Channel_Count + Pin_Offset; channel_index++) { analogWrite(channel_index, Serial.read()); }