changes to two files

arduinoWrapper: to add on parameters for the multithreading

main: to add on arduinoWrapper start/read/write to the multithread.