Skip to content

Commit

Permalink
Restore blank line and remove extra sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayce Basques committed Sep 2, 2024
1 parent 10b397a commit c965bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i2c/ssd1306_i2c/ssd1306_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ int main() {
"by the name of",
" PICO"
};

int y = 0;
for (uint i = 0; i < count_of(text); i++) {
WriteString(buf, 5, y, text[i]);
Expand All @@ -406,7 +407,6 @@ int main() {
}

// Test the display invert function
sleep_ms(3000);
SSD1306_send_cmd(SSD1306_SET_INV_DISP);
sleep_ms(3000);
SSD1306_send_cmd(SSD1306_SET_NORM_DISP);
Expand Down

0 comments on commit c965bdc

Please sign in to comment.