Using _bios_serialcom how would i send a command (eg. "LTD\r") in one go?
I've tried putc, putch but so far can only achieve it in the most repeatetive way
_bios_serialcom(_COM_SEND, COM2, 'L');
_bios_serialcom(_COM_SEND, COM2, 'T');
_bios_serialcom(_COM_SEND, COM2, 'D');
_bios_serialcom(_COM_SEND, COM2, '\r');
which is obviously a waste of time & code.
TIA!!!!



LinkBack URL
About LinkBacks



