> I am trying to write to a serial LCD device on /dev/ttys0 and I need to pass hex 
> codes to it. According to the documentation, in C is done like this:
> 
> putch(0xfe);
> putch('X');
> 
> What will be the similar commad in FPC?

write(chr($FE),'X');


_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to