change pi shutdown to use GPIO 17 and also restart ATmega328 on short button press