BLE server client - how to send/ read analog values

cath_esp32
Posts: 1
Joined: Thu Jun 13, 2019 6:28 pm

BLE server client - how to send/ read analog values

Postby cath_esp32 » Thu Jun 20, 2019 8:39 am

I am new to Arduino, electronics and ESP32. I am trying to read three analog sensor values from a server ESP32 with a client ESP32. I am using the example sketch code for server and client, but don't know where to add the code to receive the analog readings on the serial monitor of the client. I have an analogRead(X_pin) reading the value in the server - this reads fine on the serial monitor for the server. I would be grateful for any advice to get me started.
Many Thanks
Cath

Who is online

Users browsing this forum: No registered users and 72 guests