mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[doc] Update Analog Input voltage to 3.3v (NFC) (#8085)
This commit is contained in:
@@ -81,7 +81,7 @@ class AnalogPotentiometerTest {
|
||||
RoboRioSim.resetData();
|
||||
AnalogInputSim sim = new AnalogInputSim(1);
|
||||
|
||||
// Test at 5v
|
||||
// Test at 3.3v
|
||||
sim.setVoltage(3.3);
|
||||
assertEquals(270, pot.get());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user