How to receive serial data wirelessly from Bluno?

Things you need:
1 x USB BLE link(or any BLE card, but the setting should be modified by AT command)1 x BlunoAccessaries: what I used here are UNO expansion shield, Gravity:Analog Rotation Sensor V2, USB cable, power adapter
STEPS:
Default setting is ok. Use AT commands to set USB ble link as AT+SETTING=DEFCENTRAL, set bluno as AT+SETTING=DEFPERIPHERAL
Upload the code to Bluno
Code: Select allint rotatorPin = A1;
int sensorValue = 0;
int ledPin = 11;
void setup() {
Serial.begin(115200);
}
void loop() {
sensorValue = analogRead(rotatorPin);
sensorValue = map(sensorValue, 0, 1023, 0, 255);
analogWrite(ledPin, sensorValue);
Serial.println(sensorValue);
delay(200);
}
Insert USB ble link to computor, waiting they could LINK in about 5~10 sec. (My picture shows Bluno was powered by an external power supply)
Open the Arduino serial monitor, choose the baudrate as 115200
Rotate the sensor, you could see the changing data.