Browse Source

Update digital.c

main
Frank 4 years ago
parent
commit
536b328d29
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy4/digital.c

+ 2
- 2
teensy4/digital.c View File

@@ -151,8 +151,8 @@ void _shiftOut(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, uint8_t valu
}
}

static const int maxSpeed = 10000000ULL; //10 MHz
static const int maxSpeedBeforeDelay = 392000000ULL; //max F_CPU_ACTUAL before doing delays (measured for 10MHz, -O2)
static const unsigned maxSpeed = 10000000ULL; //10 MHz
static const unsigned maxSpeedBeforeDelay = 392000000ULL; //max F_CPU_ACTUAL before doing delays (measured for 10MHz, -O2)

void shiftOut_lsbFirst(uint8_t dataPin, uint8_t clockPin, uint8_t value)
{

Loading…
Cancel
Save