Auxiliary digits display
Overview
This sample demonstrates the use of the auxiliary display driver for digit-based displays, such as 7-segment displays.
Building and Running
Note that this sample requires a board with a 7-segment display setup. You can build your own setup by fly-wiring a 7-segment display to any board you have.
A sample overlay is provided for the native_sim
target. See the overlay file
samples/drivers/auxdisplay_digits/boards/native_sim.overlay for a
demonstration.
west build -b native_sim samples/drivers/auxdisplay_digits
If successful, the display first lights up all segments (e.g., 8.8.8. on a 3-digit display), blinks once, sequentially lights up each digit from left to right, and then counts up from 0 to the maximum number that can be displayed.