Skip to content

Commit 5d61185

Browse files
authored
Update X_NUCLEO_IHM04A1_2BiDir.ino
Signed-off-by: Carlo Parata <[email protected]>
1 parent 7cb79ea commit 5d61185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/X_NUCLEO_IHM04A1_2BiDir/X_NUCLEO_IHM04A1_2BiDir.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ void setup()
168168
/* Initialization of the motor driver*/
169169
/* Please, be careful that pins can change if you change the Nucleo board */
170170
/* Give a look at the DataSheet of the Nucleo to find a correct configuration */
171-
motor = new L6206(D2, A4, D5, D4, A0, A1);
171+
motor = new L6206(2, A4, 5, 4, A0, A1);
172172

173173
if (motor->init() != COMPONENT_OK) {
174174
exit(EXIT_FAILURE);

0 commit comments

Comments
 (0)