What I am trying to do is use the blend micro board as a input device that reads the analog input and sends that data via Bluetooth which will be later read by an android app that can store and display that data via an app. What I need now is to be able to wire up a potentiometer to analog input on the blend micro and be able to use a app from play store or something else very simple to be able to just verify the Bluetooth is transmitting correctly. So far i have successfully done the getting started published by red bear. I also have done some tutorials that include using the serial monitor in Arduino ide. I was able to see analog input via usb cable.
What i would like to do next is add code to turn on Bluetooth.
What code is needed to activate the Bluetooth?
What app do i need to use to act as a serial monitor on android?
here is the code I used to to communicate with board via usb this is not my own but is modified
*/
// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValueA0 = analogRead(A0);
// print out the value you read:
Serial.println(sensorValueA0);
delay(1000); // delay in between reads for stability
// read the input on analog pin 1:
int sensorValueA1 = analogRead(A1);
// print out the value you read:
Serial.println(sensorValueA1);
delay(1000); // delay in between reads for stability
}