Currently there exists multiple versions of pHAT, wHAT, etc and it is important that we can tell which version of what model we are using. It is nice to have a function that reads the display info from the device.
Notes
Since I2C is used only one location, I close it after use.
This operation seems to work successfully only once. Subsequence calls will results in garbage data.
It seems like width and height data can be outdated(???), but at least showing model name is super useful.
Currently there exists multiple versions of pHAT, wHAT, etc and it is important that we can tell which version of what model we are using. It is nice to have a function that reads the display info from the device.
Notes