0

$USD

$USD
TUTORIALS ESP32ESP8266

ESP32 / ESP8266 cpplinq: first operator with condition

DFRobot Sep 24 2019 1013

Tutorials Writter: Techtutorialsx


How to get the first element of an array that meets a given criteria, using cpplinq and the first operator.

The tests shown on the video were done on the ESP32, but the library also works on the ESP8266.


ESP32 FireBeetle board:
https://www.dfrobot.com/product-1590.html


ESP8266 FireBeetle board:

https://www.dfrobot.com/product-1634.html


C++ Lambda syntax:

https://en.cppreference.com/w/cpp/language/lambda


Written tutorial with installation instructions for cpplinq and a code sample:

https://techtutorialsx.com/2019/04/12/esp32-arduino-getting-started-with-the-cpplinq-library/