在Arduino ESP8266中添加太多yield()会有什么影响?

时间:2016-08-19 11:45:37

标签: arduino esp8266

添加yield()将减少ESP8266中的随机重置。如果代码的yield()太多会怎么样?副作用是什么?

1 个答案:

答案 0 :(得分:1)

Basically the yield command just gives the esp the opportunity to handle internal stuff. It´s way better than using waits - delay() and I couldn't find a noticeable performance impact.

相关问题