Ok so I made sure that my serial ports match. I have the actual arduino board not one from chin.
Im using sketch and I have a program that I know is a good program and even checked it on the sketch.shows no problems or issues. I'm using this board to make my christmas lights switch come on and off to the beat of music so thank god I started this now. I have all my electrical outlets made this was my last step before downloading vixen. Any help is greatly appreciated.
By the way I just got on the forum 4/5/18
The program I have
#define MEGA_VIXEN
//#define UNO_VIXEN
#ifdef MEGA_VIXEN
#define MAX_CHANNELS 48
int channels[MAX_CHANNELS] = {2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53};
#endif
#ifdef UNO_VIXEN
#define MAX_CHANNELS 18
int channels[MAX_CHANNELS] = {2,3,4,5,6,7,8,9,10,11,12,13,A0,A1,A2,A3,A4,A5};
#endif
int incomingByte[MAX_CHANNELS];
void setup()
{
int i;
Serial.begin(9600); // set up Serial at 9600 bps
for ( i = 0; i < MAX_CHANNELS; i ++ ) pinMode(channels*, OUTPUT);*
}
void loop()
{
-
int i;*
-
if (Serial.available() >= MAX_CHANNELS)*
-
{*
for (i=0; i < MAX_CHANNELS; i ++) incomingByte = Serial.read();
* }*
for (i = 0; i < MAX_CHANNELS; i ++ ) analogWrite(channels_, incomingByte*);
}*_