Skip to content

Commit 84b184e

Browse files
committed
#4 - small README.MD update
1 parent 3bcfdea commit 84b184e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ void setup() {
156156
That's all there is to it! If you push this program to your (compatible) microcontroller, it will immediately start printing the following into your Serial console (once per second):
157157

158158
>MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 0
159-
MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 1
160-
MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 2
161-
MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 3
159+
>MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 1
160+
>MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 2
161+
>MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 3
162162

163163
### What about the `loop()` method?
164164
Your existing `loop()` method will continue to operate exactly as it always has. On the ESP32, the default `loop()` method executes on CPU 1, while you will notice that your instance of `MyFirstThread` (`thread1` in the above sample code) is running on CPU 0.
@@ -221,11 +221,11 @@ void setup() {
221221

222222
We've now added two additional threads, so our output will look something like this:
223223
>MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 1
224-
MyFirstThread::OnLoop() - Thread 2 - On CPU 1, Counter = 1
225-
MyFirstThread::OnLoop() - Thread 3 - On CPU 0, Counter = 1
224+
>MyFirstThread::OnLoop() - Thread 2 - On CPU 1, Counter = 1
225+
>MyFirstThread::OnLoop() - Thread 3 - On CPU 0, Counter = 1
226226
>MyFirstThread::OnLoop() - Thread 1 - On CPU 0, Counter = 2
227-
MyFirstThread::OnLoop() - Thread 3 - On CPU 0, Counter = 2
228-
MyFirstThread::OnLoop() - Thread 2 - On CPU 1, Counter = 2
227+
>MyFirstThread::OnLoop() - Thread 3 - On CPU 0, Counter = 2
228+
>MyFirstThread::OnLoop() - Thread 2 - On CPU 1, Counter = 2
229229
230230
The explicit maximum number of *ESPresio* `Thread`s supported by the library is 256, however the *practical limit* depends entirely on the specifications of your microcontroller. It's almost certainly going to be considerably lower than 256!
231231

0 commit comments

Comments
 (0)