This video tutorial explains how to filter an array using cpplinq, running on the Arduino core. In this tutorial we are going to use the cpplinq where operator to obtain all the even elements of an integer array.
The tutorial demonstrated here is done on the ESP32 but the code also works on the ESP8266, since cpplinq is a generic C++ library.
Explore DFRobot’s AI & STEM education ecosystem at Bett Brasil 2026 (Booth M120, São Paulo). Hands-on AI literacy, robotics, and GenAI projects for K-12 classrooms.
Unlock advanced smart home automations with the $8.9 DFRobot C4002 mmWave sensor. Learn to extract raw speed, energy, and direction data using ESPHome.
Need an ORP sensor? We compare entry-level Arduino meters, 24/7 online probes, and IP68 industrial RS485 sensors to help you build the best water IoT system.