ronydc
Full Member level 3
Dear Friends,
In a project I am getting 4 bits at port P2 ( bits d0 to d3) when i am Receiving any alphabate ( I mask the other bits , d4 to d7) from a system.
then when I try to display it on the lcd, i dont get the original alphabet on the lcd but I get the digit instead of that.
ex. -- if I Send the letter "k" on port as said above, I get the "11" display on the lcd ---- but not leter -- "k" ..
why this is happening.. do i need to do some ascii conversion ..?
( all the numbers are comming corectly on lcd from 0 to 9-- but not only the alphabets)
is the only 4 bits( d0 to d7 ) not capable to make an alphabet..? - -mean leck of data or something .?
i m stuck.
( i m using "c" and this is 8051 programming)
(my lcd code is ok.)
please advise, freinds.
- Rony
In a project I am getting 4 bits at port P2 ( bits d0 to d3) when i am Receiving any alphabate ( I mask the other bits , d4 to d7) from a system.
then when I try to display it on the lcd, i dont get the original alphabet on the lcd but I get the digit instead of that.
ex. -- if I Send the letter "k" on port as said above, I get the "11" display on the lcd ---- but not leter -- "k" ..
why this is happening.. do i need to do some ascii conversion ..?
( all the numbers are comming corectly on lcd from 0 to 9-- but not only the alphabets)
is the only 4 bits( d0 to d7 ) not capable to make an alphabet..? - -mean leck of data or something .?
i m stuck.
( i m using "c" and this is 8051 programming)
(my lcd code is ok.)
please advise, freinds.
- Rony