Method 2 – using Python and Firmata