basic libs from Arduino IDE, adapted for Eclipse