Unicode Question
madjack
Posts: 9
·
Am I correct in assuming that the “FullDuplexSerialPlus” object
expects to receive 16 bit characters, “Unicode” and will stumble if sent
8 bit characters old “ASCII”. I am using the rx, tx and getdec methods
·
I have a project that works great In HyperTerminal but has some problems connected to some old hardware that predates Unicode and only sends & receives 8 bit characters.
·
Has anyone dealt with this. I can eliminate the old hardware but would like to have the option of using it if modifications to the propeller object·are not a huge undertaking for a newbe to spin and assembly language.
·
I would rather not spend a lot of time beating a dead horse so to speek.
·
Anyone care to give me some advice?
Are there any good books?
·
Thank you in advance for any advice.
Am I correct in assuming that the “FullDuplexSerialPlus” object
expects to receive 16 bit characters, “Unicode” and will stumble if sent
8 bit characters old “ASCII”. I am using the rx, tx and getdec methods
·
I have a project that works great In HyperTerminal but has some problems connected to some old hardware that predates Unicode and only sends & receives 8 bit characters.
·
Has anyone dealt with this. I can eliminate the old hardware but would like to have the option of using it if modifications to the propeller object·are not a huge undertaking for a newbe to spin and assembly language.
·
I would rather not spend a lot of time beating a dead horse so to speek.
·
Anyone care to give me some advice?
Are there any good books?
·
Thank you in advance for any advice.
Comments
getdec reads a string until it sees a CR, then attempts to convert into a integer
Perry
I made an assumption that it running in assembly would eliminate the need for a buffer as it could process the input faster than the 9600 baud I am sending to it.
I must have to create a transmit sub that sends one character at a time to the propeller rather than sending strings.
Dose this sound like a solution?
Jack
even the assembler part only has 16 character buffers.
You might need to add some overhead so the propeller can tell you when it is ready to receive more input.
Perry
I shouldn’t need any back & forth communication for flow control. I may need to setup a small buffer or array at the propeller if my one character at a time sub fails me
A lot of the “FullDuplex Serial” object is in spin.
I guess I m guilty of wishful thinking.
Nothing comes easy for me
Thanks for the info
Jack
I have successfully replaced an old Step motor
Index card with the propeller on and old CNC bender
I still have to make a PCB
and fine tune it
Thank you all for your input
Jack