https://harald.ist.org/howto/avr/arduino.html?style=Simple