You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/Lecture1.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ classDiagram
81
81
82
82
Explanation:
83
83
84
-
1. Class Name (Top Section): This is the uppermost part of the box. It displays the name of the class (e.g., Student, Order, Car).
84
+
1. Class Name (Top Section): This is the uppermost part of the box. It displays the name of the class (e.g., Student, Order, traffic).
85
85
2. Attributes (Middle Section): This section lists the attributes (or properties/fields) of the class. Each attribute is typically shown with its visibility (+ for public, - for private, # for protected), name, and type.
86
86
3. Methods (Bottom Section): This section lists the methods (or operations/functions) that belong to the class.
87
87
Each method is shown with its visibility, name, parameters, and return type.
@@ -176,14 +176,14 @@ A class is like a blueprint for an object—it defines the attributes and method
Copy file name to clipboardExpand all lines: tutorials/Lecture3.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ while True:
48
48
49
49
## Implement a Non-Blocking Flash Method
50
50
51
+
The 'Non Blocking' approach is preferred for timing regular events in microcontroller programming because it avoids blocking the code with sleep statements, allowing the controller to multitask.
52
+
51
53
> [!Important]
52
54
> Make sure you edit the in the `project\lib\led_light.py`, not your main.py implementation.
0 commit comments