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:
https://www.dfrobot.com/product-1590....
ESP8266 FireBeetle board:
https://www.dfrobot.com/product-1634....
C++ Lambda syntax:
https://en.cppreference.com/w/cpp/lan...
Related Written tutorials:
The pairwise operator: https://techtutorialsx.com/2019/08/15...
The except operator: https://techtutorialsx.com/2019/08/14...
Intersection of arrays: https://techtutorialsx.com/2019/08/11...
A lot more written tutorials for the ESP32:
https://techtutorialsx.com/category/e...