Monitor motorhome leisure battery and provide simple control of habitation

Dependencies:   net lpc1768 crypto clock web fram log

Committer:
andrewboyson
Date:
Sun Apr 18 19:05:35 2021 +0000
Revision:
3:b96c6f6bbffc
Parent:
0:b843d647695c
Child:
9:d957af50fdc2
Added WIZ module to control WIZ lights.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 0:b843d647695c 1 #include "web-add.h"
andrewboyson 0:b843d647695c 2 #include "web-nav-this.h"
andrewboyson 0:b843d647695c 3
andrewboyson 0:b843d647695c 4 void WebNavThis(int page)
andrewboyson 0:b843d647695c 5 {
andrewboyson 0:b843d647695c 6 WebAddNavItem(page == HOME_PAGE, "/", "Home" );
andrewboyson 0:b843d647695c 7 WebAddNavItem(page == PROGRAM_PAGE, "/program", "Program" );
andrewboyson 0:b843d647695c 8 WebAddNavItem(page == RADIATOR_PAGE, "/radiator", "Radiator");
andrewboyson 0:b843d647695c 9 WebAddNavItem(page == BOILER_PAGE, "/boiler", "Boiler" );
andrewboyson 0:b843d647695c 10 WebAddNavItem(page == SYSTEM_PAGE, "/system", "System" );
andrewboyson 0:b843d647695c 11 WebAddNavItem(page == ONE_WIRE_PAGE, "/1wire", "1-Wire" );
andrewboyson 3:b96c6f6bbffc 12 WebAddNavItem(page == WIZ_PAGE, "/wiz", "Wiz" );
andrewboyson 0:b843d647695c 13 }