initial commit
disable NADC
adjust some functions to use new API style