Browse Source

Fix digitalWriteFast

teensy4-core
Andrew Kroll 5 years ago
parent
commit
ca6e66f909
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      teensy4/core_pins.h

+ 2
- 1
teensy4/core_pins.h View File

} }
} }
} else { } else {
*portClearRegister(pin) = digitalPinToBitMask(pin);
if(val) *portSetRegister(pin) = digitalPinToBitMask(pin);
else *portClearRegister(pin) = digitalPinToBitMask(pin);
} }
} }



Loading…
Cancel
Save