RobotC Help

I’m using 30-day demo version of RobotC instead of EasyC. How do I use Optical Shaft Quadrature Encoders in programs written using RobotC?

I think that RobotC can’t use sensors that are connected to Interrupts ports. Encoders connected to A/D ports don’t work properly.