Quote:
|
Originally Posted by Donut
Yes, but if they come built for Vex, that pretty much ensures the sensors will have EasyC support (I don't use EasyC for it, but alot of people do).
|
When I used the IR sensors, I had programmed them using EasyC 1.0. Nothing special was needed. If you are trying to use any custom analog sensor, just use one of the LightSensor blocks. If you are using any custom digital sensor, just use one of the Bumper or LimitSwitch blocks.
The code does not know that the sensor is different. All it knows is that it has the right type of signal coming in (analog or digital), and as long as you have it wired to the right pinouts, you're ready to roll. It's that simple.