remove arduino.h - add register functions - BROKEN