-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit f764af0
Ticker updated to match extensions in ESP8266 API (#2849)
* Update Ticker API to compatibility with ESP8266, prepares for co-op loop Scheduler
* Fixing Build server complaints
* Fix omitted casts in template member function
* Changes after review
* Expose μs resolution of OS API in Ticker class
* Return Ticker to libraries only for modularity.
* Unify Ticker examples.
* Default for LED_BUILTIN
* In Ticker, the *scheduled functions become available in another development branch.
* Astyle from ESP8266
* Fixed Arduino keywords.txt
* 64bit integers instead of 32bits, timer functions on ESP32 accept 64bit integers.
* Move code from header into compiliation unit.
Reformat.
* Test case same as ESP8266
* Implementing inline in header saves 204+ bytes program size.
* Examples
* Fix a compiler warning due to c-style casting.
* Revert formatting changes
* More format reversions
* Revert
* Revert
* Revert
---------
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>1 parent ead76fd commit f764af0
File tree
6 files changed
+177
-81
lines changed- libraries/Ticker
- examples
- Arguments
- TickerBasic
- TickerParameter
- src
6 files changed
+177
-81
lines changedThis file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + |
Lines changed: 54 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | + | ||
13 | 14 |
| |
15 | + | ||
16 | + | ||
14 | 17 |
| |
18 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | - | ||
34 | + | ||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | - | ||
46 | + | ||
47 | 47 |
| |
48 | - | ||
48 | + | ||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | + | ||
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
60 | - | ||
61 | + | ||
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 | + | ||
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
37 | - | ||
38 | + | ||
38 | 39 |
| |
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
39 | 47 |
| |
40 | - | ||
48 | + | ||
41 | 49 |
| |
42 | - | ||
50 | + | ||
51 | + | ||
43 | 52 |
| |
44 | 53 |
| |
45 | - | ||
54 | + | ||
46 | 55 |
| |
47 | - | ||
56 | + | ||
57 | + | ||
48 | 58 |
| |
49 | 59 |
| |
50 | 60 |
| |
51 | 61 |
| |
52 | 62 |
| |
53 | - | ||
63 | + | ||
54 | 64 |
| |
55 | 65 |
| |
56 | 66 |
| |
57 | - | ||
58 | - | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
59 | 75 |
| |
60 | 76 |
| |
61 | 77 |
| |
62 | - | ||
78 | + | ||
63 | 79 |
| |
64 | - | ||
65 | - | ||
66 | - | ||
80 | + | ||
81 | + | ||
67 | 82 |
| |
68 | 83 |
| |
69 | - | ||
84 | + | ||
70 | 85 |
| |
71 | - | ||
86 | + | ||
87 | + | ||
72 | 88 |
| |
73 | 89 |
| |
74 | - | ||
90 | + | ||
75 | 91 |
| |
76 | - | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + | ||
98 | + | ||
99 | + | ||
77 | 100 |
| |
78 | 101 |
| |
79 | 102 |
| |
80 | 103 |
| |
81 | 104 |
| |
82 | - | ||
83 | - | ||
84 | - | ||
105 | + | ||
106 | + | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
111 | + | ||
112 | + | ||
113 | + | ||
85 | 114 |
| |
86 | 115 |
| |
87 | 116 |
| |
88 | - | ||
117 | + | ||
89 | 118 |
| |
90 | - | ||
91 | - | ||
92 | - | ||
119 | + | ||
120 | + | ||
93 | 121 |
| |
94 | 122 |
| |
95 | 123 |
| |
96 | - | ||
124 | + | ||
97 | 125 |
| |
98 | 126 |
| |
99 | - | ||
127 | + | ||
100 | 128 |
| |
129 | + | ||
101 | 130 |
| |
102 | - | ||
103 | 131 |
| |
132 | + | ||
133 | + | ||
134 | + | ||
104 | 135 |
| |
105 | 136 |
| |
106 | 137 |
| |
|
0 commit comments