disable slew rate
authornotaz <notasas@gmail.com>
Sat, 25 Oct 2014 18:02:16 +0000 (21:02 +0300)
committernotaz <notasas@gmail.com>
Sat, 25 Oct 2014 18:10:38 +0000 (21:10 +0300)
teensy3/pins_teensy.c

index a45fc84..1c81ee9 100644 (file)
@@ -611,7 +611,7 @@ void pinMode(uint8_t pin, uint8_t mode)
 
        if (mode == OUTPUT) {
                *portModeRegister(pin) = 1;
-               *config = PORT_PCR_SRE | PORT_PCR_DSE | PORT_PCR_MUX(1);
+               *config = /*PORT_PCR_SRE |*/ PORT_PCR_DSE | PORT_PCR_MUX(1);
        } else {
                *portModeRegister(pin) = 0;
                if (mode == INPUT) {