Fixed gpio_close prototype in header
Added rtctemp header
Fixed getopt issues
Added ADC example code for the TS-8390
updated makefile for new tools