problem with the analog digital converter and lcd

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 I have a problem with a program I'm doing, the program is displayed on the LCD while some data and generate an analog digital signal, the first part I have it but when I try to attach the analog digitalCONVERTION I erase all data the screen, do not help.

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The easiest way for us to help you is when you upload your project here so that we can have a look at it.

   

To do so:

   

1st: build -> Clean Project

   

2nd: Zip (NOT Raw!!!) your project folder

   

3rd: Upload the resulting zip-archieve here.

   

 

   

We'll have a look at.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

As Bob stated, post more info or a project.

   

Generally speaking you take A/D result, convert to alpha using itoa(), ltoa(), ftoa(), sprintf(),

   

and then use LCD print string command. See datasheet for exact typing of command. There

   

are different commands used to write string out of FLASH or RAM. In this case you write out of RAM.

   

LCD_PrString() for RAM based writes.

   

 

   

Noted you write string to LCD after you have used cursor position API commands to select row, columns.

   

LCD_Position().

   

 

   

Regards, Dana.

0 Likes