Skip to content

Commit f7ecbce

Browse files
committed
reduced size of sketch - uno
1 parent aee1cf3 commit f7ecbce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/hardware_specific_examples/DRV8302_driver/6pwm_example/encoder/full_control_serial/full_control_serial.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void doB(){encoder.handleB();}
4242

4343
// commander interface
4444
Commander command = Commander(Serial);
45-
void onMotor(char* cmd){ command.motor(&motor, cmd); }
45+
void onMotor(char* cmd){ command.motor(&motion, cmd); }
4646

4747
void setup() {
4848

@@ -108,8 +108,6 @@ void setup() {
108108
// define the motor id
109109
command.add('A', onMotor, "motor");
110110

111-
Serial.println(F("Full control example: "));
112-
Serial.println(F("Run user commands to configure and the motor (find the full command list in docs.simplefoc.com) \n "));
113111
Serial.println(F("Initial motion control loop is voltage loop."));
114112
Serial.println(F("Initial target voltage 2V."));
115113

0 commit comments

Comments
 (0)