Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 29:91bda3a63f17
- Parent:
- 28:06cefc8dd15e
- Child:
- 30:dfa9616b1ea4
- Child:
- 33:e14ef9206a63
--- a/main.cpp Tue Mar 03 19:48:45 2015 +0000
+++ b/main.cpp Tue Mar 03 19:53:12 2015 +0000
@@ -212,8 +212,8 @@
{
TFC_SetServo(0,0);
- temp = 0;
- temp2 = 0;
+ int temp = 0;
+ int temp2 = 0;
for(int i = 20; i < 30; i++)
{
@@ -243,10 +243,10 @@
current_servo_position = -0.4;
TFC_SetServo(0, current_servo_position);
- boolean listSame = true;
+ bool listSame = true;
- temp = 0;
- temp2 = 0;
+ int temp = 0;
+ int temp2 = 0;
for(int i = 20; i < 30; i++)
{
@@ -341,10 +341,10 @@
current_servo_position = +0.4;
TFC_SetServo(0, current_servo_position);
- boolean listSame = true;
+ bool listSame = true;
- temp = 0;
- temp2 = 0;
+ int temp = 0;
+ int temp2 = 0;
for(int i = 20; i < 30; i++)
{