ATTiny 2313 firmware for sensors controller