Code for USB communication with arduino - commit 1.