Remove duplicate pin mode.

This commit is contained in:
Chris Giacofei 2022-01-14 07:56:43 -05:00
parent da937ecde5
commit 69bf638c39

View File

@ -5,7 +5,6 @@
// dutyCycle (byte) - PWM period from 0 - 100.
void slowPWM(byte outputPin, byte dutyCycle, unsigned long period)
{
pinMode(outputPin, OUTPUT);
static byte outputState = LOW;
static unsigned long lastSwitchTime = 0;