- How to Use
- This example shows that when the dual state button component on the Nextion screen is released, the text of Text component will change one every time.
- Author
- huang xianming (email:xianm.nosp@m.ing..nosp@m.huang.nosp@m.@ite.nosp@m.ad.cc)
- Date
- 2015/11/11 2016/12/25 bring HMI up to v0.32 to avoid too old issues by Patrick Martin, no other changes made
- Copyright
- Copyright (C) 2014-2015 ITEAD Intelligent Systems Co., Ltd.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
char buffer[100] = {0};
{
&bt0,
NULL
};
void bt0PopCallback(void *ptr)
{
uint32_t dual_state;
dbSerialPrintln("b0PopCallback");
dbSerialPrint("ptr=");
dbSerialPrintln((uint32_t)ptr);
memset(buffer, 0, sizeof(buffer));
if(dual_state)
{
}
else
{
}
}
void setup(void)
{
dbSerialPrintln("setup done");
}
void loop(void)
{
}