About dmeq6

Sept. 3, 2016
Full Profile »

Tell us about yourself!

Complete Your Profile
  • How to control arduino board using an android phone and a bluetooth module

    Hello,I am trying to connect my smartphone with a genuino 101 board with bluetooth but I can't. Two devices are in pair and I put this code:#include <Servo.h>#include <CurieBLE.h>#include<BLEPeripheral.h>#include<BLEService.h>BLEPeripheral blePeripheral;Servo servos[13];// creació del objecte servo per controlar els servosvoid waitForInput(){while(Serial.available()==0){ delay(500);} while(Serial.available()>0){ char incomingChar= Serial.read(); manageChar (incomingChar); }} void manageChar (char c){ switch(c){ ... }}void setup() { servos[3].attach(3); servos[4].attach(4); Serial.begin(19200); blePeripheral.setLocalName ("LEDCB"); blePeripheral.begin();}void loop() { waitForInput(); }Could anyone help me?Thaks a lotDanielI am tryiy

    View Instructable »