"Smart slave" for flash photography based on Adafruit Trinket board