Yeah that was my thinking, it starts with a 2 :) The first minute was kind of foundational and wasn't exactly about the topic, but I thought it would he useful to explain the problem that this solves and there was just nothing left to cut!
thanks your code really helped me get a handle on where to put everything, ESP NOW running cleanly on one core and the blink sketch running on the other, cheers xD
Hey Brian, in both your and Andreas's video, xTaskCreatePinnedToCore is used in the setup. What if I want to enable and disable the task running on core 0 throughout my main loop? For example, I want to use core 0 to monitor an encoder while core 1 is driving a motor. I do not want core 0 retrieving values from the encoder when the motor is not running as I am using a shared SPI bus with the encoder and other sensors that are being monitors on core 1.
Decided to get an ESP for testing with my OctoPrint library, but forgot about the Chinese New Year.... all my items (on my AliExpress diet too!) are just stuck waiting to be posted.... woops!! Come on end of Feb!! Steve
Yeah I've broken mine a few rimes too,I also picked up a couple more esp32 to add to the collection. Yeah we'll be lucky to get this stuff by the end of March!
Nicely and briefly explained,Thanks Brian. ..but i am facing some problems with my modification on it. " Task watchdog got triggered. The following tasks did not reset the watchdog in time: - IDLE (CPU 0) Tasks currently running: CPU 0: led1Task CPU 1: loopTask ". please help me to solve it.
Nice one! So by default, all code runs on core 1 on the ESP32? I would have thought core 0 would have been the default core. Not that is really matters.
That would have been my guess too, but Andreas showed in his video the loop was running on core 1 Andreas thought maybe some WiFi stuff was happening on core 0 but I had the display running for days with no issues so think it's all good to use anyways!
Yeah I watched his video about it when he posted... forgot about that bit of info, thanks for reminding me. Now I'll have to go back and watch it again :-)
Its not Andreas "Spice" like spicey. it's spiess .. like pike. .. * *pokey* *pokey* * :-) - it's getting obvious more and more to me that you are a programmer, i'm close to * *Tilt* * on the video ;-)
With a k sound?! I thought maybe it might more like "piece". I'm sorry Andreas if you are reading! I'm just a typical ignorant native English speaker! You see what I'm like pronouncing names in the live stream chats! My surname is actually often pronounced incorrectly too, but with good reason! "ough" can have a "u" sound like through, a "uff" sound like tough, an "ow" sound like plough but then just throw a spanner in the works we pronounce it "Lock" :)
yepp, Spiess sounds like peace, Spiess = Pike, the thing to poke knights off their horses (pikemen ??) or the weapon to hunt wild bore.. => commons.wikimedia.org/wiki/File:Nuntebo(weapon).png (I'd taken the "uff" ;-) )
If you gave me a million tries I wouldn't have guessed that! Thanks I'll know for the next time! Its not the first time I've referenced his videos, I'm sure it won't be the last!
Making a complete mockery of the Two Minute Tidbit name! I didn't want to cut any of it out though so I hope you don't mind!
well, it's still under 3 minutes..
Yeah that was my thinking, it starts with a 2 :)
The first minute was kind of foundational and wasn't exactly about the topic, but I thought it would he useful to explain the problem that this solves and there was just nothing left to cut!
thanks your code really helped me get a handle on where to put everything, ESP NOW running cleanly on one core and the blink sketch running on the other, cheers xD
Nice Job Brian - thanks for creating this short summary!
Thanks David!
Hey Brian, in both your and Andreas's video, xTaskCreatePinnedToCore is used in the setup. What if I want to enable and disable the task running on core 0 throughout my main loop? For example, I want to use core 0 to monitor an encoder while core 1 is driving a motor. I do not want core 0 retrieving values from the encoder when the motor is not running as I am using a shared SPI bus with the encoder and other sensors that are being monitors on core 1.
Noice vid man. I just wanted to know if I can use wifi on both modules to fetch data at the same time.
Thanks
Brian, what is : String sharedData = "window._sharedData = ";
thanks.
Marc.
i am facing problem in reading ADC pins.while esp32 is connected to wifi network.
That's really interesting, kind of opens up a lot of possibilities!
Sure does! Definitely looking forward to making some stuff with this!
Decided to get an ESP for testing with my OctoPrint library, but forgot about the Chinese New Year.... all my items (on my AliExpress diet too!) are just stuck waiting to be posted.... woops!! Come on end of Feb!!
Steve
Yeah I've broken mine a few rimes too,I also picked up a couple more esp32 to add to the collection. Yeah we'll be lucky to get this stuff by the end of March!
Nicely and briefly explained,Thanks Brian. ..but i am facing some problems with my modification on it. " Task watchdog got triggered. The following tasks did not reset the watchdog in time:
- IDLE (CPU 0)
Tasks currently running:
CPU 0: led1Task
CPU 1: loopTask
". please help me to solve it.
Very old but did you ever find a solution?
Nice one! So by default, all code runs on core 1 on the ESP32? I would have thought core 0 would have been the default core. Not that is really matters.
That would have been my guess too, but Andreas showed in his video the loop was running on core 1
Andreas thought maybe some WiFi stuff was happening on core 0 but I had the display running for days with no issues so think it's all good to use anyways!
Yeah I watched his video about it when he posted... forgot about that bit of info, thanks for reminding me. Now I'll have to go back and watch it again :-)
Nice job brother keep it doing 💪👌
hi , I want to make bluetooth headset connect to esp32
can you actually use both core for 1 task? As far as i know, esp32 only use 1 core as default.
y tho
@@fffmpeg just curious
Thanks, really awesome!
Your welcome! Thanks for the comment!
00:02 Arudino? ;D
Oh no! Eh ... it was a test, congrats on passing!
I'm an awful typer and speller, I'm sure my videos are littered with these :/
Thx
10000, // Stack size in words //
why is this used in the code?
Its not Andreas "Spice" like spicey. it's spiess .. like pike. .. * *pokey* *pokey* *
:-)
- it's getting obvious more and more to me that you are a programmer, i'm close to * *Tilt* * on the video ;-)
With a k sound?! I thought maybe it might more like "piece". I'm sorry Andreas if you are reading!
I'm just a typical ignorant native English speaker! You see what I'm like pronouncing names in the live stream chats!
My surname is actually often pronounced incorrectly too, but with good reason! "ough" can have a "u" sound like through, a "uff" sound like tough, an "ow" sound like plough but then just throw a spanner in the works we pronounce it "Lock" :)
yepp, Spiess sounds like peace,
Spiess = Pike, the thing to poke knights off their horses (pikemen ??) or the weapon to hunt wild bore..
=> commons.wikimedia.org/wiki/File:Nuntebo(weapon).png
(I'd taken the "uff" ;-) )
If you gave me a million tries I wouldn't have guessed that! Thanks I'll know for the next time! Its not the first time I've referenced his videos, I'm sure it won't be the last!