Performing arbitrary I/O with the 41CL serial port
|
06-08-2017, 01:37 AM
Post: #2
|
|||
|
|||
RE: Performing arbitrary I/O with the 41CL serial port
To my knowledge there is no function that do something like send-string or receive-string.
You can YPOKE/YPEEK directly to/from the serial port one byte at the time. Ref.: NEWT CPU Tech. Manual, newt-v4.pdf, I/O Ports Section, Page: 151 to 154, I/O Port 0xF = UART/SDIO Data Register Like send the letter 'A' (0x41 ASCII) to the serial output buffer Code: "F---0041" or read the pending character from the serial input buffer Code: "F---0000" If I had to do string line exchange, I would probably use a text file in X-Memory, then transfer the file through the transmit buffer functions. Unfortunately, I do not have the time to experiment this idea right now, maybe Monte or Angel has a better solution. Sylvain |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Performing arbitrary I/O with the 41CL serial port - mfleming - 06-07-2017, 10:31 PM
RE: Performing arbitrary I/O with the 41CL serial port - Sylvain Cote - 06-08-2017 01:37 AM
RE: Performing arbitrary I/O with the 41CL serial port - mfleming - 06-08-2017, 02:20 AM
|
User(s) browsing this thread: 1 Guest(s)