|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/introduction-to-object-oriented-programming-with-arduino/
课程评论:没有评论
课程名称:Arduino面向对象编程入门 课程概述:在微控制器开发中,我们常常使用库来控制硬件组件。本课程将向您介绍灵活高效的源代码设计的优势。全程使用ESP32,但所有示例(除了最后一个网站/网络服务器和WIFI的例子)、练习和解释均可用任何Arduino完成。完成本课程后,您将能够创建自己的面向对象的程序和库,编写可重用的源代码,构建适应性强的清晰代码架构,编写通用类并提供库,实施OOP的基本概念以立即应用于自己的项目,从而节省繁琐编程的时间。根据设计方案,您自己编写的代码更容易进行调整,并且在较长时间后也能更好地维护自己的代码。 课程内容:课程将深入Arduino环境中的面向对象编程基础知识,逐步讲解OOP的核心内容,并通过实践示例进行学习。 - 实践示例1:自定义LED类,包括多种不同的功能和接口。 - 实践示例2:带有小球升降机的Galton板及12个红外传感器的评估。 - 实践示例3:仅用一个按钮、两个LED和三种光模式的头灯。 - 实践示例4:开发一个石头剪子布游戏,与机器人对战并争取赢得两局,逻辑通过ESP32上的网络服务器触发(含服务器端事件)。 我的教学方法:很少使用幻灯片或PowerPoint,课程会立即从实践示例开始。理论内容可以马上在Arduino的串口监视器上进行测试,从而更好地理解。实践项目将通过逐步指导共同开发。在每一个任务中,我会演示代码,您可根据任务进行跟随,所有代码可在平台上下载,以便您无障碍地实现结果。没有冗长的解释或理论独白,我们会直接进入基础知识部分。利用我多年的经验,掌握微控制器开发的关键技能。期待在课堂上见到您! 讲师:Markus Edenhauser
Especially in the development of microcontrollers we often work with libraries, for example to control hardware components. The advantages of flexible and efficient source code design will be introduced to you in this course.An ESP32 is used in the entire course, but all the examples (except the last one with the Website/Webserver and WIFI), exercises and explanations can be done with any Arduino.Once you have completed this course, you will be able to…...create your own object-oriented programs and libraries...program reusable source code.create clean source code architecture for flexible programming and adaptation.code generalized classes and provide the libraries.implement the basic concepts of OOP for your own projects and apply them immediately..save time for cumbersome programming. Because of the given conceptual design, your self-written code is easier to adapt..maintain your own code better even after a longer period of time.What we go through in the course:Basics of object-oriented programming in the Arduino environment. We will go through the essential contents of OOP step by step. We will get right into practical examples.Practical example: Own LED class. Many different functions and interfaces.Practical example 2: Galton board with marble elevator and evaluation of 12 IR sensors.Practical example 3: Headlamp with only one(!) button, two LEDs and three light modes.Practical example: Rock, paper, scissors game. We develop this small game. We compete against the bot and play to win two games. The logic is triggered by a web server on the ESP32 (with server side events).My approach in the course:None (ok, only very few) slides/Powerpoints. We start in the basics immediately with a practical example. Also the theory can be tested immediately on the Arduino with the Serial Monitor and thus immediately better understood.The practical projects are developed together in step-by-step instructions.Together means in this context that I demonstrate the code, depending on the task, and you can follow me along with the source code.All codes are available for download on the platform, so you can get to the result without frustration.No rambling explanations or theory monologues, we get right to work in the basics chapter.Benefit from my years of experience and get the key skills in microcontroller development.I'm looking forward to see you in classMarkus Edenhauser