Skip to content

Commit 3ec3038

Browse files
committed
examples for 6mOhm resistor
1 parent bf45b6a commit 3ec3038

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

examples/hardware_specific_examples/SimpleFOCShield/version_v2/double_full_control_example/double_full_control_example.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ void doB2(){encoder2.handleB();}
2323

2424

2525
// inline current sensor instance
26+
// check if your board has R010 (0.01 ohm resistor) or R006 (0.006 mOhm resistor)
2627
InlineCurrentSense current_sense1 = InlineCurrentSense(0.01, 50.0, A0, A2);
2728

2829
// inline current sensor instance
30+
// check if your board has R010 (0.01 ohm resistor) or R006 (0.006 mOhm resistor)
2931
InlineCurrentSense current_sense2 = InlineCurrentSense(0.01, 50.0, A1, A3);
3032

3133
// commander communication instance

examples/hardware_specific_examples/SimpleFOCShield/version_v2/single_full_control_example/single_full_control_example.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ void doA(){encoder.handleA();}
1212
void doB(){encoder.handleB();}
1313

1414
// inline current sensor instance
15+
// check if your board has R010 (0.01 ohm resistor) or R006 (0.006 mOhm resistor)
1516
InlineCurrentSense current_sense = InlineCurrentSense(0.01, 50.0, A0, A2);
1617

1718
// commander communication instance

0 commit comments

Comments
 (0)