define all pins and ports as preprocessor macros
change pin layout
use 2.56V internal adc reference
invert adc reading from negative rail