hey Deyson.I start a project building a Electric Skateboard.everything works fine. the board is controlled by a android app..the motor is controlled by a ESC and a Arduino nano with HC06 module.The android app and all the instructions in other tutorial.but i want customize this app. but the guy from the tutorial don't share the source.So i have to start from scratch.and your app from this tutorial help me to start.can you help me to adapt this app to work with the arduino code below?i want use seekbar to control the motor throttle. i make some test and search and discovery the android app send a number string 0 - 160 to the X on ("ESCServo.write(x); ) in the arduino code. and this make the motor run..#include <PWMServo.h>#include <SoftwareSerial.h>#include <Arduino.h...see more »hey Deyson.I start a project building a Electric Skateboard.everything works fine. the board is controlled by a android app..the motor is controlled by a ESC and a Arduino nano with HC06 module.The android app and all the instructions in other tutorial.but i want customize this app. but the guy from the tutorial don't share the source.So i have to start from scratch.and your app from this tutorial help me to start.can you help me to adapt this app to work with the arduino code below?i want use seekbar to control the motor throttle. i make some test and search and discovery the android app send a number string 0 - 160 to the X on ("ESCServo.write(x); ) in the arduino code. and this make the motor run..#include <PWMServo.h>#include <SoftwareSerial.h>#include <Arduino.h>SoftwareSerial ESCSerial(6, 5); PWMServo ESCServo; String inString = "";unsigned long startTime;unsigned long otherTime;int prev = 150;int voltcheck = 0;float vPow = 5;float r1 = 47000;float r2 = 10000;double b = 30; //Brakingdouble n = 60; //Neutraldouble m = 180; //Acceleratevoid setup() { pinMode(13, OUTPUT); ESCServo.attach(9); ESCSerial.begin(9600); digitalWrite(13, LOW); Serial.begin(9600);}void loop() { if (ESCSerial.available() > 0) { int inChar = ESCSerial.read(); if (isDigit(inChar)) { inString += (char)inChar; } if (inChar == 'n') { int x = inString.toInt(); if (x <= 180){ ESCServo.write(x); Serial.println(x); } if (x <= 90){ digitalWrite(13, HIGH); } inString = ""; } if (inChar == 'm') { if (voltcheck > 10){ getv(); voltcheck = 0; } else { voltcheck = voltcheck + 1; } //Serial.println("ALIVE"); startTime = millis(); } } if ((millis() - startTime) > 210) { digitalWrite(13, LOW); //Serial.println("90"); ESCServo.write(90); delay(30); }}static void getv() { float volt = ((analogRead(5) * vPow) / 1023.0)/ (r2 / (r1 + r2)); ESCSerial.print(volt); Serial.println(volt);}