CanSat-India-Updated / BLDC_test wo pot
BLDC_test wo pot
Raw
#include <Servo.h>

Servo BLDC;

void setup() {
  // put your setup code here, to run once:
  BLDC.attach(5);
  delay(1);
  BLDC.write(10);
  delay(5000);
//BLDC.write(180);
//delay(2000);
//BLDC.write(0);
//delay(2000);
//BLDC.write(20);
//delay(2000);
//BLDC.write(0);

}

void loop() {
  // put your main code here, to run repeatedly:
BLDC.write(100);
delay(20);
}