Lesson 13 Quiz: Display Devices

Test your understanding of OLED wiring, the framebuffer pattern, and non-blocking screen updates

📺 10 questions covering I2C, SSD1306, pixel addressing, and timed refresh

Student Information

Question 1: OLED vs LCD

What makes our OLED fundamentally different from a character LCD?

Question 2: I2C Wiring

On the Arduino Uno, which pins carry the I2C bus the OLED uses?

Question 3: The Address

In display.begin(SSD1306_SWITCHCAPVCC, 0x3C), what is 0x3C?

Question 4: Black Screen

The OLED stays completely black and Serial prints "not found". Most likely fix?

Question 5: Pixel Coordinates

On the OLED, what does display.setCursor(64, 16) mean?

Question 6: The Framebuffer

Why don't our print() calls show up until display.display() runs?

Question 7: Why No Flicker?

We call clearDisplay() every refresh, yet the screen never flickers or blanks. Why?

Question 8: Three Jobs, One Loop

Our sketch updates servos every 15 ms, the screen every 250 ms, and checks the button every pass — all in one loop(). How?

Question 9: Refresh Rate Trade-off

We refresh the OLED every 250 ms instead of every loop pass. Each display() call pushes a full 1 KB frame over I2C. Explain what would happen to your loop timing — and the servos — if displayInterval dropped to 5 ms.

Question 10: Graphics Upgrade

The OLED can draw shapes, not just text. Describe how you'd use fillRect() to draw a joystick deflection bar — what would you measure (dx? raw reading? step size?), and where on the 128×64 screen would you put it without covering the angle readouts?

← Back to Lesson 13
Next: Lesson 14 →