$ 0 0 then you need to compare pins Tiny2313 vs M8 portb have Xtal on M8 change the setup of pins to make it run on M8