What does "compiling for board solo coding mode" mean?


#1

I made 4 programs and all of them say: “Error compiling for board solo coding mode”. I’m not trying to use friendship mode, Can you help!


#2

Yes! Can you paste the code here that you are uploading?


#3

Yes.

void loop() {
LED led;
led.turn_on_single(SW, RED);
led.turn_on_single(SW, WHITE);
led.turn_on_single(SW, BLUE);
led.turn_on_single(NE, CYAN);
led.turn_on_single(NE, WHITE);
led.turn_on_single(SE, CYAN);
led.turn_on_single(SE, BLUE);
led.turn_on_single(SE, RED);
led.turn_on_single(SE, MAGENTA);
led.turn_on_single(NW, WHITE)
;Animation animation;
animation.breathe_single_color(GREEN);
led.turn_on_single(SW, RED);
led.turn_on_single(SW, WHITE);
led.turn_on_single(SW, BLUE);
led.turn_on_single(NE, CYAN);
led.turn_on_single(NE, WHITE);
led.turn_on_single(SE, CYAN);
led.turn_on_single(SE, BLUE);
led.turn_on_single(SE, RED);
led.turn_on_single(SE, MAGENTA);
led.turn_on_single(NW, WHITE)
;led.turn_off_single(NE);
led.turn_on_single(NE, WHITE);
led.turn_off_single(SE);
led.turn_on_single(SE, WHITE);
led.turn_off_single(SW);
led.turn_on_single(SW, WHITE);
led.turn_off_single(NW);
led.turn_on_single(NW, WHITE);
}


#4

Looks awesome! Do you have a setup(){} function in your sketch still? It doesn’t do anything, but it does need to be there.


#5

Sorry I took so long to respond. Yes, I do.


#6

Okay, weird! When you go to Tools -> Boards is Solo Coding selected? When I use the following code (I added in the setup function and what you have above) it compiles for me. It’s possible you could have an older version of the board installed, but I wouldn’t think that would be the case. Can you try to copy -> paste what I put below and run it?

void setup() {
// put your setup code here, to run once:
}
void loop() {
LED led;
led.turn_on_single(SW, RED);
led.turn_on_single(SW, WHITE);
led.turn_on_single(SW, BLUE);
led.turn_on_single(NE, CYAN);
led.turn_on_single(NE, WHITE);
led.turn_on_single(SE, CYAN);
led.turn_on_single(SE, BLUE);
led.turn_on_single(SE, RED);
led.turn_on_single(SE, MAGENTA);
led.turn_on_single(NW, WHITE)
;Animation animation;
animation.breathe_single_color(GREEN);
led.turn_on_single(SW, RED);
led.turn_on_single(SW, WHITE);
led.turn_on_single(SW, BLUE);
led.turn_on_single(NE, CYAN);
led.turn_on_single(NE, WHITE);
led.turn_on_single(SE, CYAN);
led.turn_on_single(SE, BLUE);
led.turn_on_single(SE, RED);
led.turn_on_single(SE, MAGENTA);
led.turn_on_single(NW, WHITE)
;led.turn_off_single(NE);
led.turn_on_single(NE, WHITE);
led.turn_off_single(SE);
led.turn_on_single(SE, WHITE);
led.turn_off_single(SW);
led.turn_on_single(SW, WHITE);
led.turn_off_single(NW);
led.turn_on_single(NW, WHITE);
}

#7

Sorry I took so long. Yes, It is Solo Coding. Ok, it programed perfectly.