Skip to content

Commit 7cb79ea

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/X_NUCLEO_IHM04A1_1BiDir/X_NUCLEO_IHM04A1_1BiDir.ino

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

177177
if (motor->init(&gMotorInitStruct) != COMPONENT_OK) {
178178
exit(EXIT_FAILURE);

0 commit comments

Comments
 (0)