skule.sormo.no

ORG NR 885 947 522

 

 
 

void setup() {
Serial.begin(115200);
Serial.println("RC transmitter");
pinMode(13,OUTPUT);

}

void loop() {
  digitalWrite(13, HIGH);
  delayMicroseconds(1); // Approximately 10% duty cycle @ 1KHz
  digitalWrite(13, LOW);
  delayMicroseconds(20 - 1);
}

 

 

Legg til kommentar


Sikkerhetskode
Vis ny kode

CB Login

Powered by    :