dominiz
1
Esp32
LINE NOTIFY not work in RTOS Function Noting recive, But Work in Normal Function.
How to fix it.
char LINE_TOKEN[50]; //store from wifi manager
Void setup()
{
xTaskCreatePinnedToCore(
TESTTASK
, "TT"
, 5000 // Stack size
, NULL
, 1 // Priority
, NULL
, 1);
}
void TESTTASK(void *Parameters) // This is a task.
{
(void) Parameters;
for (;;)
{
LINE.setToken(LINE_TOKEN);
LINE.notify("HELLO")
}
}
gfvalvo
2
The posted code does not even compile.
dominiz
4
Hi, This example code. I compiled pass. But noting recive.
gfvalvo
5
Post complete code that actually compiles and demonstrates the problem at hand. Include links for all libraries used.
system
Closed
6
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.