Log in

View Full Version : Vex Sensor Sample Code


nonother
07-05-2006, 22:19
From the insert that came with the Optical Shaft Encoder I just purchased today: "Sample code to help you get started is available on the Vex website." This is rather problematic for two reasons. Firstly because the Vex website just redirects me to RadioShack's online store, and secondly because that online store doesn't seem to have any sort of sample code. Perhaps I just can't find the official Vex website. Anyway, does anyone have the sample easyC code and if so could they post it? While the sensor doesn't seem particularly difficult to use, I'd be interested to see the sample code.

Unrelated Note: I just found this forum yesterday, and it seems awesome. Thanks to everyone who contributes.

Mark McLeod
07-05-2006, 22:55
They are referring to the Sensor Test code at:

http://www.vexlabs.com/docs/VexSensorTest.zip

from the Vex downloads page at:

http://www.vexlabs.com/vex-robotics-downloads.shtml

Francis-134
08-05-2006, 16:49
Also, the sample code should be found under the 'Test Code' folder in the 'Projects' folder where your copy of easyC is installed.