Search found 2 matches
- Mon Jun 22, 2020 12:40 pm
- Forum: ESP32 Arduino
- Topic: Using bluetooth serial and pausing/killing core zero
- Replies: 1
- Views: 2142
Using bluetooth serial and pausing/killing core zero
I am using bluetooth serial to read obd data from a car and this task is running on core zero. Core 1 shows the data. This all works as expected. When I get user input on a rotary encoder I want to pause the bluetooth task on core zero, do some settings work, when the settings work is over I want to...
- Wed Jun 03, 2020 8:45 am
- Forum: ESP32 Arduino
- Topic: Using arduino functions like millis and delay on both cores
- Replies: 0
- Views: 2012
Using arduino functions like millis and delay on both cores
Hi,
Are arduino functions like delay, millis, digitalRead, digitalWrite etc "thread safe".
Can I have code that runs on both cores both use these functions?
Thanks!
Are arduino functions like delay, millis, digitalRead, digitalWrite etc "thread safe".
Can I have code that runs on both cores both use these functions?
Thanks!