Forums

use of stxetx

Started by sebastianbolte March 7, 2007
hello,
i want to use stxetx to communicate with a ean- scanner. in my
uvision3- projekt i have bound in the files from the armlib. i have
two problems: for the lpc2000 there are no #defines for
"CRITICAL_SECTION_BEGIN" and "CRITICAL_SECTION_END". in the
"buffer.c" i must use it. i commented it out, so i get no mistakes but
i think that's wrong. the secound problem is the use of the function
"void stxetxSend(unsigned char status, unsigned char type, unsigned
char datalength, unsigned char* dataptr)". what for values can fit in
for status and type?

thanks for answers!

greetings sebastian

An Engineer's Guide to the LPC2100 Series