I've correctly wired up an Arduino Nano 33 BLE to a 4-channel AC dimmer from RobotDyn and noticed that the output signal produced by calling digitalWrite(D6, HIGH) is oscillating which results in the ...
digitalwrite to set the pin HIGH, or use pinmode to set the pin to INPUT mode. Pins D13 (built-in LED pin) and D24 (bluetooth module STATE pin) are active-high and are turned on and off like standard ...
We wrote up a video about speeding up Arduino code, specifically by avoiding DigitalWrite. Now, the fact that DigitalWrite is slow as dirt is long known. Indeed, a quick search pulls up a Hackaday ...