NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_PFMate.nxc

This is an example of how to use the PFMateSend, PFMateSendRaw, SetSensorLowspeed, and Wait functions.

task main()
{
SetSensorLowspeed(S1); // PFMate is an i2c device
// motor a forward full speed, motor b reverse full speed
byte b1, b2;
b1 = 0xFF;
b2 = 0x00;
}