#pragma config(Motor, motorB, left, tmotorNormal, PIDControl) #pragma config(Motor, motorC, right, tmotorNormal, PIDControl) //*!!Code automatically generated by 'ROBOTC' configuration wizard !!*// // This Program Might Not work Perfect you have to edit it and make it your own task main() { while (true) { motor[left] = 100; motor[right] = 100; wait10Msec(1000); motor[left] = -100; motor[right] = 100; wait10Msec(1000); motor[left] = 100; motor[right] = 100; wait10Msec(1000); motor[left] = 100; motor[right] = -100; wait10Msec(1000); motor[left] = 100; motor[right] = 100; wait10Msec(1000); motor[left] = 100; motor[right] = -100; wait10Msec(1000); motor[left] = 100; motor[right] = 100; wait10Msec(1000); } }
Material Type:
Demonstration
HW Platform:
NXT [8]
SW Platform:
Robot-C [9]
Interactivity Style:
Expositive [10]