# bark-button the code for the bark button - a button that barks. it uses a DOIT ESP32 DEVKIT v1, with platform.io and the arduino framework. when a button gets pressed, it connects to mqtt and publishes a message to `sound/g1/play`, where the message is `barks/[random number from 0 to n_barks]`. to flash, install platformio and run `pio run -t upload`. you may need to hold boot as you plug the board in to get it ready to flash.