Search found 3 matches
- Sat Sep 26, 2020 7:05 pm
- Forum: ESP32 Arduino
- Topic: Problems with BLE connection and pairing
- Replies: 2
- Views: 7409
Re: Problems with BLE connection and pairing
Just curious, if your only calling taskServer once in setup(). Why make it a task? why not just a function or put that code in startup(). If your using it other places ok, but then your implementation of how to use a thread needs some work. "Because it was like that in the example I found" is my an...
- Wed Sep 23, 2020 11:44 pm
- Forum: ESP32 Arduino
- Topic: Problems when connecting 3 touch sensors.
- Replies: 1
- Views: 3005
Problems when connecting 3 touch sensors.
I am trying to make a BLE mouse. For this, i am connecting 3 buttons to the esp32 TOUCH pins. touchAttachInterrupt(T0, gotLeftClick, 15); touchAttachInterrupt(T5, gotMiddleClick, 25); touchAttachInterrupt(T3, gotRightClick, 15); and these are the callbacks volatile bool midleClickDetected = false; v...
- Wed Sep 23, 2020 11:35 pm
- Forum: ESP32 Arduino
- Topic: Problems with BLE connection and pairing
- Replies: 2
- Views: 7409
Problems with BLE connection and pairing
I am making a BLE mouse. The code that I am using works, but it's very finnicky. Here is what you have to do in order to connect successfully. 1. Remove device from paired devices (if it's in there) 2. go to add device and select bluetooth 3. find device in list. 4. Reset device, and in the same mom...