We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72b94b commit eacbb0bCopy full SHA for eacbb0b
DualVNH5019MotorShieldMod3/examples/Demo/Demo.ino
@@ -7,31 +7,6 @@
7
// this lets the single motor be controlled as if it were "motor 1"
8
DualVNH5019MotorShieldMod3 md;//Use default pins
9
10
-
11
-void stopIfFault()
12
-{
13
- if (md.getM1Fault())
14
- {
15
- Serial.println("M1 fault");
16
- while(1);
17
- }
18
- if (md.getM2Fault())
19
20
- Serial.println("M2 fault");
21
22
23
- if (md.getM3Fault())
24
25
- Serial.println("M3 fault");
26
27
28
- if (md.getM4Fault())
29
30
- Serial.println("M4 fault");
31
32
33
-}
34
35
void setup()
36
{
37
// Open serial communications and wait for port to open:
0 commit comments