Python script for controlling Blender object from serial or txt file