Self-powered Attiny13 with 2N2222

Hello,

Here is the final sketch :

The output device is a 433Mhz radio transmitter.

Thanks for your help gentlemen.