Skip to content

Commit 1af9808

Browse files
committed
fixing CI errors
1 parent 51a9a0a commit 1af9808

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

MOSFET_Driver_Examples/MOSFET_Driver_Blink/MOSFET_Driver_Blink.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
//
33
// SPDX-License-Identifier: MIT
44

5-
const int driverPin = 3;
5+
#define driverPin 3
66

77
void setup() {
8+
while (!Serial);
9+
delay(1000);
810
Serial.begin(115200);
911
Serial.println("Basic MOSFET Driver Test");
1012
pinMode(driverPin, OUTPUT);
1113
}
1214

1315
void loop() {
16+
1417
digitalWrite(driverPin, HIGH);
1518
Serial.println("The MOSFET driver is triggered.");
1619
delay(1000);

0 commit comments

Comments
 (0)