![](/media/cache/profiles/Chris_Profile_Pic_kyGJjzP.jpg.50x50_q85.jpg)
Example code for charging a battery
Fork of m3pi_HelloWorld by
Diff: main.cpp
- Revision:
- 6:602fc2239837
- Parent:
- 5:7619250a5b1d
- Child:
- 7:d0689e8f23bf
diff -r 7619250a5b1d -r 602fc2239837 main.cpp --- a/main.cpp Wed Nov 10 09:05:39 2010 +0000 +++ b/main.cpp Wed Nov 10 09:07:39 2010 +0000 @@ -10,7 +10,7 @@ wait (2.0); - m3pi.forward(1.0); // Forward half speed + m3pi.forward(0.5); // Forward half speed wait (0.5); // For half a second m3pi.left(0.5); wait (0.5);