mirror of
https://github.com/s00500/ESPUI.git
synced 2024-10-31 22:10:54 +00:00
more minor changes for #249
This commit is contained in:
parent
68c251226d
commit
03c30fa75c
@ -396,7 +396,8 @@ void extendedCallback(Control* sender, int type, void* param)
|
|||||||
Serial.print(sender->label);
|
Serial.print(sender->label);
|
||||||
Serial.print("' = ");
|
Serial.print("' = ");
|
||||||
Serial.println(sender->value);
|
Serial.println(sender->value);
|
||||||
Serial.println(String("param = ") + String((long)param));
|
Serial.print("param = ");
|
||||||
|
Serial.println((long)param);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
@ -67,7 +67,8 @@ void buttonCallback(Control* sender, int type)
|
|||||||
|
|
||||||
void buttonExample(Control* sender, int type, void* param)
|
void buttonExample(Control* sender, int type, void* param)
|
||||||
{
|
{
|
||||||
Serial.println(String("param: ") + String(long(param)));
|
Serial.print("param: ");
|
||||||
|
Serial.println(long(param));
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case B_DOWN:
|
case B_DOWN:
|
||||||
|
@ -72,7 +72,8 @@ void buttonCallback(Control* sender, int type)
|
|||||||
|
|
||||||
void buttonExample(Control* sender, int type, void* param)
|
void buttonExample(Control* sender, int type, void* param)
|
||||||
{
|
{
|
||||||
Serial.println(String("param: ") + String(long(param)));
|
Serial.print("param: ");
|
||||||
|
Serial.println(long(param));
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case B_DOWN:
|
case B_DOWN:
|
||||||
|
@ -66,7 +66,8 @@ void buttonCallback(Control* sender, int type)
|
|||||||
|
|
||||||
void buttonExample(Control* sender, int type, void* param)
|
void buttonExample(Control* sender, int type, void* param)
|
||||||
{
|
{
|
||||||
Serial.println(String("param: ") + String(long(param)));
|
Serial.print("param: ");
|
||||||
|
Serial.println(long(param));
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case B_DOWN:
|
case B_DOWN:
|
||||||
|
Loading…
Reference in New Issue
Block a user