moved to unsafe pointers
debugging flash
debugging flash
redone unsafe pointers, working flash AND adc