Reading and Writing Serial Data to Nano 33 BLE over Bluetooth

Hi,

Is there a way to way to use the Nano 33 BLE for reading and writing serial commands? I'd like to send it "Read Voltage at Analog A0," for example, then read that voltage back to a Windows 10 PC over Bluetooth.

Thanks for your help!

Have you looked at the ArduinoBLE library

And studied the built in library examples

A couple of things to watch using the new nano's the sketch won't run as written unless the serial window is open

You need to be care full with how you define variables you write to using the library functions.
Ie the BLEcharacteristic type needs to match the variable type