GreenLeader
Senior Member
Hi all
I've not been doing any PICAXEing for a while but I now have an axe133y serial LCD for a temperature project and I've not been able to work out how to display a degree symbol yet.
I've read thru a number of forum posts which gave some clues but I've not managed to turn them into anything that works!
I am not using the display in serial mode - I have adapted the "firmware" to read some DS18B20's on pins C.0,C.1,C.2.
That is all working well - I am able to read the values and display them on the OLED, but I just can't get a degree symbol to work!
Here are some code extracts to illustrate - modified from axe133y.bas that comes with the axe133y:
First define a "test" message (in EEPROM)
Now display it:
so how would I now write a degree symbol just before the letter "C"?
One of the things I tried was to copy and paste the degree symbol from the PE ASCII table wizard, like this:
but it did not work - some other weird symbol did display though!
I can see the degree symbol in the OLED Character Table in appendix 1 of the axe133y manual (its in row 3, column 13) but I have no idea how to use the table!
any more clues appreciated!!
I've not been doing any PICAXEing for a while but I now have an axe133y serial LCD for a temperature project and I've not been able to work out how to display a degree symbol yet.
I've read thru a number of forum posts which gave some clues but I've not managed to turn them into anything that works!
I am not using the display in serial mode - I have adapted the "firmware" to read some DS18B20's on pins C.0,C.1,C.2.
That is all working well - I am able to read the values and display them on the OLED, but I just can't get a degree symbol to work!
Here are some code extracts to illustrate - modified from axe133y.bas that comes with the axe133y:
First define a "test" message (in EEPROM)
Code:
[color=Blue]EEPROM [/color][color=Navy]$30[/color][color=Black], [/color][color=Blue]([/color][color=Red]"+000 -000 +000 C"[/color][color=Blue]) [/color][color=Green]; store msg3 in the EEPROM memory[/color]
Code:
[color=Blue]low rs [/color][color=Green]; command mode
[/color][color=Blue]let [/color][color=Purple]pinsB [/color][color=DarkCyan]= [/color][color=Navy]192 [/color][color=Green]; move to line 2, first character
[/color][color=Blue]pulsout enable[/color][color=Black],[/color][color=Navy]1 [/color][color=Green]; pulse the enable pin to send data.
[/color][color=Blue]high rs [/color][color=Green]; character mode again
[/color][color=Blue]let [/color][color=Purple]b1 [/color][color=DarkCyan]= [/color][color=Navy]3 [/color][color=Green]; select message 3
[/color][color=Blue]gosub [/color][color=Black]msg [/color][color=Green]; print it[/color]
One of the things I tried was to copy and paste the degree symbol from the PE ASCII table wizard, like this:
Code:
[color=Blue]EEPROM [/color][color=Navy]$30[/color][color=Black], [/color][color=Blue]([/color][color=Red]"+000 -000 +000°C"[/color][color=Blue]) [/color][color=Green]; store msg3 in the EEPROM memory[/color]
I can see the degree symbol in the OLED Character Table in appendix 1 of the axe133y manual (its in row 3, column 13) but I have no idea how to use the table!
any more clues appreciated!!