Technical discussions about Freescale Microcontrollers: M68HC11. (Freescale Semiconductor is a Subsidiary of Motorola).
So far in May, you have voted 0 times ou of a total of 20 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.
Is this thread worth a thumbs up?
looking for help. trying to display temperature on lcd - saad...@gmail.com - Jul 27 8:27:02 2009
i have to make a project for one of my courses in which i read temperature from
a thermocouple and display it on an lcd. i am using an Axiom CME11E9-EVBU board
and the lcd that came along with it. So far I have managed to write the program
and I am getting the temperature readings and display them on my computer
monitor. but I am unable to display this to the lcd. i have posted the code that
i wrote so far below, if someone could have a look at it and guide me in the
pshx * save value
puly * move to y
bsr HexDec * convert hex to decimal
ldx #TEMP * point to data
* std 0,X * save result
* BSR TENS
ONES: LDD 1,BUFFER
STAA LCD_DATA *push to lcd
(You need to be a member of hc11 -- send a blank email to firstname.lastname@example.org )