Copy and paste error from older Arduino sketch

This commit is contained in:
Johannes Schriewer 2017-02-05 00:52:39 +01:00
parent 6f5c17489c
commit a4d25331c3

View file

@ -42,8 +42,8 @@ void loop() {
} }
// map ADC converted value into safe range // map ADC converted value into safe range
h = map(black, 0, 1023, hMin, hMax); h = map(h, 0, 1023, hMin, hMax);
v = map(red, 0, 1023, vMin, vMax); v = map(v, 0, 1023, vMin, vMax);
// set servos // set servos
horizontal.writeMicroseconds(h); horizontal.writeMicroseconds(h);