this package could be reused here and in [RaspberryPiSenseHat](https://github.com/valeriyvan/RaspberryPiSenseHat) swift package.