======firmwareupdate====== WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0 Initiate a firmware update sequence and reboot the device ====Description==== firmwareupdate ( ) Make sure that the latest firmware is stored in the file 'image.hex' in the root folder of the SD Card, otherwise it will cause the device to not boot. To recover from this situation you will need to remove the SD Card, copy a new firmware onto it, reinsert it and power on while holding the reset button at the back of the device((NOT true on a [[hardware:wattmons:WattmonPRO]] with FW 1.1051: firmwareupdate() does not attempt to update or reboot if /image.hex is missing. - Jeff 3/6/17)). ====Parameters==== None ====Return Values==== None ====Example==== ===Check if an image hex file exists, and if so, initiate a firmware update===
====See Also==== [[firmware:Wattmon Firmware]] - The HEX file that is flashed onto the chip