This code is a compliment to the blog post at m2aglabs.com -> https://m2aglabs.com/2020/03/06/control-an-arduino-with-pycmdmessenger/
This is an example of using PyCommand Messenger to communicate with an Arduino that acting as a sensor module.
Arduino: Assumes Adafruit CCS811 and BME280 are implemented. Any sensor could be substituted with a little modification.
Python: Assumes Python 3. Install PyCommand Messenger via pip3. The example should work on all supported platforms -- Mac/Win/Linux.