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
{{ message }}
This repository was archived by the owner on Mar 14, 2023. It is now read-only.
### Why do we need this [SmallProjects library](https://github.com/khoih-prog/SmallProjects)
14
+
15
+
### Features
16
+
17
+
[SmallProjects library](https://github.com/khoih-prog/SmallProjects) collects all complicated projects to demonstrate the usage of [Khoi Hoang's libraries](https://github.com/khoih-prog/SmallProjects), such as ISR-based timers for ESP8266, ESP32 and Arduino Mega, Nano, etc. These projects are much more complicated than the ordinary libraries' examples. Some can even be used directly in real-life.
18
+
19
+
8
20
### ISR-based Fire Smoke Alarm demonstrate how to use ESP8266TimerInterrupt, ESP32TimerInterrupt and TimerInterrupt Library
9
21
10
22
These are examples how to use, design and convert the code from normal `software timer` to `ISR-based timer`.
@@ -25,9 +37,10 @@ Functions using normal software timers, relying on loop() and calling millis(),
25
37
26
38
The catch is your function is now part of an `ISR (Interrupt Service Routine)`, and must be `lean / mean`, and follow certain rules. More to read on:
1. Inside the attached function, delay() won’t work and the value returned by millis() will not increment. Serial data received while in the function may be lost. You should declare as volatile any variables that you modify within the attached function.
32
45
33
46
2. Typically global variables are used to pass data between an ISR and the main program. To make sure variables shared between an ISR and the main program are updated correctly, declare them as volatile.
@@ -44,7 +57,15 @@ Certainly, with Blynk GUI, we can achieve many more great features, such as `rem
44
57
45
58
This can be applied in many projects requiring reliable system control, where `good, bad, or no connection has no effect on the operation of the system`.
46
59
47
-
### Projects
60
+
---
61
+
---
62
+
63
+
### Changelog
64
+
65
+
#### Release v1.0.2
66
+
67
+
1. Add [STM32_LAN8720 examples](./STM32_LAN8720)
68
+
48
69
49
70
#### Release v1.0.1
50
71
@@ -70,12 +91,32 @@ Sample codes:
70
91
71
92
The corresponding codes using Software Timers are also included to help understand the steps taken in order to convert those codes to be ISR-based.
72
93
94
+
---
95
+
---
96
+
97
+
### Issues
98
+
99
+
Submit issues to: [SmallProjects issues](https://github.com/khoih-prog/SmallProjects/issues)
100
+
101
+
---
102
+
---
103
+
73
104
## Contributing
105
+
74
106
If you want to contribute to this project:
75
107
- Report bugs and errors
76
108
- Ask for enhancements
77
109
- Create issues and pull requests
78
110
- Tell other people about this library
79
111
112
+
---
113
+
114
+
### License
115
+
116
+
- The library is licensed under [MIT](https://github.com/khoih-prog/SmallProjects/blob/master/LICENSE)
0 commit comments