change user_acmode
This commit is contained in:
parent
ca27f6de89
commit
b6e862d1d2
|
@ -1,5 +1,6 @@
|
|||
#include <user_code.hpp>
|
||||
|
||||
uint8_t user_acmode = 0;
|
||||
// Display Componets
|
||||
// Link with Dual state button object with id 2 on page 1 named bt0
|
||||
NexButton light_toggle = NexButton(1,2,"light_toggle");
|
||||
|
@ -191,7 +192,6 @@ void user_init()
|
|||
{
|
||||
elcd.print("page main");
|
||||
elcd_send_stop_bit();
|
||||
user_acmode = 0;
|
||||
light_toggle.attachPop(light_toggle_pop_callback, &light_toggle);
|
||||
row1_lv1.attachPop(row1_lv1_pop_callback, &row1_lv1);
|
||||
row1_lv2.attachPop(row1_lv2_pop_callback, &row1_lv2);
|
||||
|
|
|
@ -61,7 +61,6 @@
|
|||
#define ANALOG_REPORTING_INTERVAL 500
|
||||
|
||||
// User Defined Variables
|
||||
uint8_t user_acmode;
|
||||
|
||||
// User Defined Functions
|
||||
#define elcd ESPMega_EXTLCD
|
||||
|
|
Loading…
Reference in New Issue