collected arduino/pc code, various versions