Re: [fpc-pascal]Hex chars
> 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]Hex chars
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? Thanks -pa