wezm / ssd1675

Rust driver for SSD1675 e-Paper display controller
Apache License 2.0
63 stars 14 forks source link

Dimension cols field limited to u8 #17

Open lyneca opened 4 years ago

lyneca commented 4 years ago

I have this Inky wHAT display, with a resolution of 400x300. The cols field on Dimension is set to a u8 (compared to the rows - a u16). Is there a reason for this?

wezm commented 4 years ago

Is there a reason for this?

Only that I built this crate to support the Inky pHAT, which doesn't need the type to be any bigger than u8. I can't see much issue with enlarging it.