Nextion - Send data from arduino to nextion lcd

preview_player
Показать описание
how to send data form arduino to nextion lcd
=======================================
#include "Nextion.h"

NexNumber n0 = NexNumber(0, 8, "n0");

char buffer[100] = {0};

NexTouch *nex_listen_list[] =
{
&n0,
NULL
};

void n0PopCallback(void *ptr)
{
dbSerialPrintln("n0PopCallback");
}

void setup()
{
nexInit();
}

void loop(void)
{
nexLoop(nex_listen_list);
}
Рекомендации по теме
Комментарии
Автор

it's so fun watching you type!!!.... NOT.

This is not 2009. But thanks for the good intention

interlinkknight
Автор

hi ... help me how i can made to send value from nextion to arduino, for example I want set my pump star 2 time a day : by 10 minutes. each hour oir each 2 hours... how catch these value and save in my arduin

electronicacys
Автор

Excuse me, it's work on real project bro???

phatle
Автор

Thank you for your thorough presentation. It's better if you upload the code to do that.
Thank you so much again.

mrchinh
Автор

I want send a float number, n0 can't display

xusimon
Автор

hi I am using your code I got a error on nextion simulator "data overflow" by the way I am using arduino mega can you help me plz....

UmarFarooq-ycuu
Автор

change the title to, how to read my typing without a magnifier

enkisonofanu
join shbcf.ru