Arduino Create Function In Python