Step 5 uncomments and resources update
This commit is contained in:
+12
-12
@@ -168,16 +168,16 @@ bool submit_6(bool* buttons_cycling, bool button_turned_on, int led_off) {
|
||||
}
|
||||
|
||||
void step5(void) {
|
||||
// StarCodeHandler star_codes[] = {
|
||||
// {
|
||||
// .code = "*2648",
|
||||
// .display_text = "Starting...",
|
||||
// .should_exit = true,
|
||||
// .callback = nullptr,
|
||||
// },
|
||||
// };
|
||||
// int len = sizeof(star_codes)/sizeof(StarCodeHandler);
|
||||
// do_star_codes(star_codes, len);
|
||||
StarCodeHandler star_codes[] = {
|
||||
{
|
||||
.code = "*2648",
|
||||
.display_text = "Starting...",
|
||||
.should_exit = true,
|
||||
.callback = nullptr,
|
||||
},
|
||||
};
|
||||
int len = sizeof(star_codes)/sizeof(StarCodeHandler);
|
||||
do_star_codes(star_codes, len);
|
||||
|
||||
std::vector<int> all_leds;
|
||||
|
||||
@@ -209,8 +209,8 @@ void step5(void) {
|
||||
lcd_set_cursor(&lcd, 1, 1);
|
||||
bool solved_correctly = false;
|
||||
|
||||
// int puzzle = puzzle_dist(gen);
|
||||
int puzzle = 2;
|
||||
int puzzle = puzzle_dist(gen);
|
||||
// int puzzle = 2;
|
||||
|
||||
switch (puzzle) {
|
||||
case 0: {
|
||||
|
||||
Reference in New Issue
Block a user