Here's a small sample of code (actually this is taken from the Sample Programs from the latest ROBOTC for IFI release):
Just go to "File", "Open Sample Programs"... and go to the "Sonar" folder, then open the "sonar_distance" program.
Vu NguyenSoftware Training Development Team
Need more support? Use the ROBOTC Ticketing systemRobotc.net
| Robomatter Store
| Robotics Academy