moved watchdog reset for frame lost.
First pass at battery monitoring code.
forgot to div voltage by number of cells.
Check if a battery is connected.
fixed hysteresis logic and include file.
reorganised to fixed sizing problem, this is not c++.