8 bit data

I’ll like to ask how am I supposed to write the c code to read the lower 8 bit of a 16 bit data?

Are you asking for something like that?? It is just normal C code…

unsigned short int data_16;
unsigned char data_8;

data_8=(unsigned char) (data_16 & 0x00FF);

I am not sure…but I hope it helps…If not, please explain it more.

If you are new with QNX, try to get the book:

Getting started with QNX Neutrino 2, by Rob Krten.

It is a good way to start with QNX…(it helped me a lot at the beginning)