Object-Oriented Programming in C | ESP32

Published: 05 July 2026
on channel: CerroTec Labs
105
6

This video descibes how to implement an object-oriented programming (OOP) strategy using C in an ESP32 project.

Although OOP is not natively supported by C, using a combination of structures and function pointers it is possible to leverage the benefits of classes and objects in C-based code.

This video covers the basics of OOP and an overview of the strategy to implement it in C.

The presented project also demonstrates a real-world example of how an OOP strategy can be implemented for reading sensors with an ESP32.

Links
ESP32 Measure Temperature and Humidity with a AHT10 Sensor
   • ESP32 | Measure Temperature and Humidity w...  

ESP32 Multiplexing I2C and AHT10 Sensors
   • ESP32 | Multiplexing I2C and AHT10 Sensors...  


------------------------------------

BUY ME A COFFEE: 🍵https://buymeacoffee.com/cerrotec
PATREON:   / cerroteclabs  
BUSINESS ENQUIRIES: contact@cerrotec.com

------------------------------------
Chapters

00:00 Introduction
00:23 Project aims
01:12 OOP core concepts
01:41 Core pillars of OOP
06:38 Source code
09:50 Exercises


------------------------------------

I will post new content covering aspects of programming and developing using the ESP32 single board computer regularly.

If you have any topics that you’d like me to cover, then please describe them in the comments below.

------------------------------------

I offer software engineering, business and technical analysis, and ESP32 consultancy services.

I have professional qualifications in software engineering, Chartered Engineer (CEng) and European Engineer (EUR ING). I have over 30 years of industry experience in software engineering, project management and planning, consultancy, electronics, embedded systems, systems and process control.

For business enquiries please contact me at: contact@cerrotec.com


On this page of the site you can watch the video online Object-Oriented Programming in C | ESP32 with a duration of hours minute second in good quality, which was uploaded by the user CerroTec Labs 05 July 2026, share the link with friends and acquaintances, this video has already been watched 105 times on youtube and it was liked by 6 viewers. Enjoy your viewing!