Hi,
I use Ascii characters in my PIC programs, usually a $.
As a difference I decided to use a £ instead, but it shows as a backwards capital L. Does anyone know why?
Cheers, Camerart
ASCII is a 7 bit protocol that doesn't support £ or €. You may be able to specify different encoding in Oshonsoft and whatever display device you're using.
where are you using it? if its in the program "ALT 156" will get you there ( Hold ALT when entering the code) If you are sending it via serial, use any other. I use Tilde ~ as its very obscure and its one of the 128 characters. 126 in fact..
ASCII is a 7 bit protocol that doesn't support £ or €. You may be able to specify different encoding in Oshonsoft and whatever display device you're using.
where are you using it? if its in the program "ALT 156" will get you there ( Hold ALT when entering the code) If you are sending it via serial, use any other. I use Tilde ~ as its very obscure and its one of the 128 characters. 126 in fact..
You have two 'issues' then, what your terminal is doing (how it's set 7 bit, 8 bit, font used etc.), and what the program you're using to write the PIC code is doing. With the terminal program set correctly, and the PIC side written correctly, there's no issue displaying £ symbols.
I wouldn't consider using anything other than 8N1 for the serial link, which is fairly universal, and the default for most things.
The ANSII set was created in A.N.OTHER country. if you view the whole 256 characters (just google them ) you can see what's available. But! to keep everything "working" just stick to the original 127 characters.
That way you will not need any extra encoding.
The ANSII set was created in A.N.OTHER country. if you view the whole 256 characters (just google them ) you can see what's available. But! to keep everything "working" just stick to the original 127 characters.
That way you will not need any extra encoding.