Hello every one, i search all over the net about esp32 code that receive data from UART and put them in a string variable, i couldn't find any thing...
Please help
uart communication esp32
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: uart communication esp32
Hello,
I suggest you delete this thread, and post it again in the General Discussion part of the forum.
Vader[BEN]
I suggest you delete this thread, and post it again in the General Discussion part of the forum.
Vader[BEN]
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: uart communication esp32
Moved, news -> general discussion
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: uart communication esp32
@G4ttuz: You should check this topic: viewtopic.php?f=13&t=284&start=10
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Who is online
Users browsing this forum: MicroController and 89 guests