00001 # Anything that starts with a # is a comment! 00002 # Use lots of comments in your code to explain what you're doing. 00003 00004 # Use the PIC-specific Python libraries 00005 import t114 as pic 00006 00007 line_sensor_right = pic.digital_io(1, 8, True) 00008 right_wheel_stopped = 938 00009 00010 print "Running..." 00011 i = 0; 00012 while i < 10: 00013 i = i + 1 00014 # Print out line following diags 00015 if line_sensor_right.get(): 00016 pass