Skip to content

Commit 40f4a6c

Browse files
Update Lecture1.md
1 parent fb5355b commit 40f4a6c

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tutorials/Lecture1.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Lecture 1
22

33
## Lecture 1 Concepts
4-
- Pin & PWM
4+
- Pin & PWM Parent Classes
55
- Unit Testing
6-
- Parent Class
6+
- Parent/Child Class
7+
- Instantiation
8+
- Inheritance
79
- Generalisation
810

911
## Pin Library
@@ -24,7 +26,7 @@ Unit testing is the process of writing and running small, isolated tests that ch
2426

2527
Unit testing is especially valuable in embedded systems, such as the Pi Pico, where debugging can be challenging due to limited resources and hardware complexity. By ensuring each component works independently, you can build more complex mechatronic solutions.
2628

27-
## Parent Child Classes
29+
## Parent/Child Classes
2830

2931
A parent/child (or super/sub) class relationship is a key concept in object-oriented programming (OOP), also known as inheritance. The parent class defines common attributes and methods.
3032
It acts as a template for other classes.
@@ -103,7 +105,7 @@ while(True):
103105
sleep(1)
104106
```
105107

106-
## Inheritence
108+
## Inheritance
107109

108110
Inheritance is a fundamental concept in object-oriented programming (OOP). It allows a class (called a child or subclass) to acquire properties and behaviours (methods and attributes) from another class (called a parent or superclass).
109111

0 commit comments

Comments
 (0)