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

This is an example of how to use the SysCommHSWrite function along with the CommHSReadWriteType structure.

task main()
{
// configure the hi-speed port and turn it on
// ...
// no write to the port
ArrayBuild(rwt.Buffer, 0x01, 0x02, 0x03, 0x04); // four bytes
if (rwt.Status = NO_ERR) {
// do something
}
}