Browse Source

Merge pull request #352 from Defragster/patch-2

clock halved - halve blink wait count
teensy4-core
Paul Stoffregen 6 years ago
parent
commit
9d247b5314
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy4/startup.c

+ 2
- 2
teensy4/startup.c View File

{ {
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++) ;
} }
} }



Loading…
Cancel
Save