Search found 4 matches

by romeo987
Tue Jun 09, 2020 2:50 am
Forum: ESP32 Arduino
Topic: Use RMT to recognize pulse train
Replies: 1
Views: 3178

Use RMT to recognize pulse train

I have a device that encodes its error status as a 16.5Hz pulse train of either 25% or 50% duty cycle. I was hoping to use the RMT peripheral to read this, rather than using interrupt driven timers to Measure the pulse width. But from my reading of the docs, RMT only raises an interrupt when the inc...
by romeo987
Mon May 18, 2020 6:55 am
Forum: ESP32 Arduino
Topic: connected = SerialBT.connect(address) return value
Replies: 4
Views: 5174

Re: connected = SerialBT.connect(address) return value

So I tried a function call
if(SerialBT.hasClient())...
and that seems to do exactly what I am looking for. LED comes on when I connect the android, and goes off when I disconnect.
Hope this helps.
Sadly, i don't seem to be able to find any documentation that describes what these functions do.
romeo
by romeo987
Mon May 18, 2020 6:38 am
Forum: ESP32 Arduino
Topic: connected = SerialBT.connect(address) return value
Replies: 4
Views: 5174

Re: connected = SerialBT.connect(address) return value

i asked almost exactly the same question a few days ago. Still no suggestions
:(
romeo
by romeo987
Wed May 13, 2020 3:45 am
Forum: ESP32 Arduino
Topic: Read Bluetooth status
Replies: 0
Views: 1735

Read Bluetooth status

I am something of a software newb trying to work up a thing that uses conventional BT on ESP32. I would like to know whether the ESP is or is not connected to a client. There are numerous examples on the web for monitoring connection and disconnection events, and yes, I can write a bit of software t...