Skip to main content

SCREEN_W

Constant SCREEN_W 

Source
pub const SCREEN_W: u16 = 320;
Expand description

On-board display resolution — a board fact, independent of the display driver feature, defined exactly once per target here. Every subsystem that needs it (the display panel builder, crate::io::input_caps) reads these rather than re-stating the numbers.