were gonna use adc for test, not working
Test working, code working!

Bug with set_resolution was found and fixed. All previous tests are passed
and manual tests are passed. Still leaving commented code that needs to be
removed before final commit and merge.