add twi driver to makefile
fix thresholds, tune up sensor mode