Arduino Subroutine Return Value Python