Skip to content

Instantly share code, notes, and snippets.

@agrif
Created February 28, 2025 22:52
Show Gist options
  • Save agrif/f0b39dec0237da1037653fdfdf203eab to your computer and use it in GitHub Desktop.
Save agrif/f0b39dec0237da1037653fdfdf203eab to your computer and use it in GitHub Desktop.
static DISPLAY_STATIC: StaticCell<
ssd1306::Ssd1306Async<
ssd1306::prelude::I2CInterface<
I2cDeviceWithConfig<NoopRawMutex, hal::i2c::I2c<'static, hal::mode::Async>>,
>,
ssd1306::size::DisplaySize128x64,
ssd1306::mode::BufferedGraphicsModeAsync<ssd1306::size::DisplaySize128x64>,
>,
> = StaticCell::new();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment