Skip to main content

Section 10.1 Day 9X In-Class: Two Wires, and a Display That Works

Today we’ll start communicating with the seven-segment display in your kit. This is a new peripheral, and we’ll communicate with it using a new protocol. We’ll continue going to the reference manual for register information.
We’ll start by wiring the display to two of the Nucleo’s pins, flashing a program, and making sure the display lights up. Everything after that answers the question you then have (how was that possible with just two wires?) with an oscilloscope on those two wires, and then you change the bytes and put your own character on a digit of your choosing.
The program we’ll flash calls three functions out of a library we’ll hand to you and we’ll go through what they do tomorrow.