Show rotary encode value on display

This commit is contained in:
Mario Hüttel 2020-05-04 21:36:53 +02:00
parent 3d48bfb6a6
commit bd82f55966
1 changed files with 3 additions and 1 deletions

View File

@ -214,7 +214,9 @@ int main()
main_loop_cnt++;
strcpy(&disp[0][0], "Line 1");
rot = rotary_encoder_get_abs_val();
snprintf(&disp[0][0], 21U, "Rot-Enc: %u", rot);
strcpy(&disp[1][0], "Line 2");
strcpy(&disp[3][0], "Shimatta Reflow");