Firmware for the Buratino WSN