
Endelig kildekode med rettelser.
Fork of EndeligKildekode by
Diff: hack_motor.cpp
- Revision:
- 7:a852e63cac3d
- Parent:
- 0:d3dbe632b1a9
--- a/hack_motor.cpp Thu Nov 24 09:15:48 2016 +0000 +++ b/hack_motor.cpp Fri Dec 09 12:32:21 2016 +0000 @@ -47,8 +47,7 @@ } void Wheel::FW(float right, float left) // set the actual speed for right, left motor -{ - +{ M1A->write(right); //Set the duty cycle to the wanted percent, from speed variable M2A->write(left); // -//- *M1B = 0;