I proudly present OledButton class and tools that is created to manage evaluation kit CY-7031 for OLED button CY-3031 through serial port (RS485).

Install
Written on Python 3.5. I have no idea how it works on other previous versions. Do not try Python 2 because of new types such as bytes and bytearray.
You need:
Inevitable PySerial
pip install pyserialAdvisable Pillow (PIL fork)
pip install Pillownumpy to convert any image to bmp565 format
pip install numpyRun
Look inside main.py, write your own workflow and run
python main.py