B4R Question ESP32 - Are Timers are ignored while inline C code is processed?

Tron71

Member
Licensed User
Using inline C to scan for BLE devices I have found that timers are not run. Is this correct?

I need to check the status of an input PIN while the BLE devices are scanned and setup a timer to run every 100ms to check this but if the input changes during the BLE scan the change will be missed.

Hope someone can help.
 

Tron71

Member
Licensed User
Are hardware timers and/or hardware interrupts supported in B4R?

Or can a block of inline C be assigned to run from the second core on the ESP32 thus freeing the first core to continue as normal.
 
Upvote 0
Top