Run bldc using bluetooth HC06 or RC android car app [Hijacked]

#include <Servo.h>
Servo Brushless1;
void setup()
{
 Brushless1.attach(9);
 Serial.begin(9600);
 Brushless1.write(0);
 Serial.print("Arming the motor! ");
  
}
void initialize_motor() 
{
 Serial.print("Okay, Starting to initailize...\n");
 Brushless1.write(180);
 delay(2000);
}
void testConstantSpeed() {
   int testConstantSpeed = 164;
   delay(10000);
   Brushless1.write(testConstantSpeed);
   Brushless1.write(testConstantSpeed);
}
void loop() {
   initialize_motor();
   testConstantSpeed(); 
}

.
i have this code but my BLDC is not working

Moderator: Add tags to code[/[/color]b]

I have suggested to the Moderator to move your question to its own Thread.

You need to post a link to the datasheet for the BLDC driver that you are using.

...R

What does that have to do with a 2 year old post about Bluetooth and an RC Android car app?

It would be better to start your own new thread and give more information including what Arduino and motor and ESC and power supply you are using and what happens.

Steve