Uploaded September 2019 | Updated September 2026, 2 weeks ago
How to get the lastelement of an array that meets a given criteria, using cpplinq and the last_or_default operator.
The tests shown on the video were done on the ESP32, but the library also works on the ESP8266.
ESP32 FireBeetle board:
dfrobot.com/product-1590.html
ESP8266 FireBeetle board:
dfrobot.com/product-1634.html
C++ Lambda syntax:
en.cppreference.com/w/cpp/language/lambda
Related Written tutorials:
The pairwise operator: techtutorialsx.com/2019/08/15/esp32-esp8266-arduino-the-pairwise-operator
The except operator: techtutorialsx.com/2019/08/14/esp32-esp8266-cpplinq-the-except-operator
Intersection of arrays: techtutorialsx.com/2019/08/11/esp32-esp8266-cpplinq-finding-the-intersection-between-two-arrays
A lot more written tutorials for the ESP32:
techtutorialsx.com/category/esp32
How to get the lastelement of an array that meets a given criteria, using cpplinq and the last_or_default operator.
The tests shown on the video were done on the ESP32, but the library also works on the ESP8266.
ESP32 FireBeetle board:
dfrobot.com/product-1590.html
ESP8266 FireBeetle board:
dfrobot.com/product-1634.html
C++ Lambda syntax:
en.cppreference.com/w/cpp/language/lambda
Related Written tutorials:
The pairwise operator: techtutorialsx.com/2019/08/15/esp32-esp8266-arduino-the-pairwise-operator
The except operator: techtutorialsx.com/2019/08/14/esp32-esp8266-cpplinq-the-except-operator
Intersection of arrays: techtutorialsx.com/2019/08/11/esp32-esp8266-cpplinq-finding-the-intersection-between-two-arrays
A lot more written tutorials for the ESP32:
techtutorialsx.com/category/esp32










