add a bunch of arduino test code, most of which doesn't work right now