Skip to main content

Subsection 10.3.2 Part 2: Does the Bus Still Work?

Make sure your display is still connected properly via its four wires. Re-flash helloDisplay.c if you have other code running at this time and confirm the display still lights.
If you haven’t flashed any code since yesterday, then whatever your buffer ended on yesterday should show on the display, even before re-flashing, as yesterday’s code starts running on your Nucleo as soon as it is powered up. Make sure your display lights up as expected. It is a strong test whatever it says, because the program that puts it up uses the whole path: the two pins, the bus, the three setup commands and a ten-byte write. A blank display likely means something went wrong with your wiring, whereas wrong or missing digits are just where you left them yesterday in your code.
So if your display is blank, make sure you are flashing the correct code and double-check all four wires against Figure 10.1.5: + on 3.3 V and not the 5 V pin beside it, − on GND, D on PB9 and C on PB8.