Object-Oriented Programming in C | ESP32

Publié le: 05 juillet 2026
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Object-Oriented Programming in C | ESP32 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CerroTec Labs 05 juillet 2026, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 105 fois et il a aimé 6 téléspectateurs. Bon visionnage!