Przeglądaj źródła

Merge pull request #352 from Defragster/patch-2

clock halved - halve blink wait count
teensy4-core
Paul Stoffregen 7 lat temu
rodzic
commit
9d247b5314
Brak konta powiązanego z adresem e-mail autora
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      teensy4/startup.c

+ 2
- 2
teensy4/startup.c Wyświetl plik

{ {
GPIO2_DR_SET = (1 << 3); //digitalWrite(13, HIGH); GPIO2_DR_SET = (1 << 3); //digitalWrite(13, HIGH);
// digitalWrite(13, HIGH); // digitalWrite(13, HIGH);
for (nn = 0; nn < 2000000; nn++) ;
for (nn = 0; nn < 2000000/2; nn++) ;
GPIO2_DR_CLEAR = (1 << 3); //digitalWrite(13, LOW); GPIO2_DR_CLEAR = (1 << 3); //digitalWrite(13, LOW);
// digitalWrite(13, LOW); // digitalWrite(13, LOW);
for (nn = 0; nn < 18000000; nn++) ;
for (nn = 0; nn < 18000000/2; nn++) ;
} }
} }



Ładowanie…
Anuluj
Zapisz