switch sensor to attiny2313a