Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Issue successfully resolved

???
02/26/04 13:05
Read: times


 
#65517 - RE: Ascii/Decimal?
Responding to: ???'s previous message
Jeff Ryan wrote:
-------------------------------

My problem is when I take the values from the keypad and print them to hte LCD they are ASCII characters.

What do you mean "a problem"... Your display must get the ASCII representation of the data you want to display. If your display prints ASCII characters, it does what it is supposed to do.


So then when I try to multiply these numbers the answer is incorrect.


What numbers do actually multiply? the values or their ASCII representation? You should make a difference between a "value" and the ASCII representation of this value...


Should I convert the ASCII characters to decimal before multiplying?

NO. converting to decimal will not help you. I would suggest binary (or its more human-friendly hex-representation).


HTH
regards
Patrick

List of 14 messages in thread
TopicAuthorDate
Ascii/Decimal?            01/01/70 00:00      
   RE: Ascii/Decimal?            01/01/70 00:00      
   RE: Ascii/Decimal?            01/01/70 00:00      
   RE: Ascii/Decimal?            01/01/70 00:00      
      RE: Ascii/Decimal?            01/01/70 00:00      
   Numbers vs Codes            01/01/70 00:00      
      RE: Numbers vs Codes            01/01/70 00:00      
      RE: Numbers vs Codes            01/01/70 00:00      
   RE: Ascii/Decimal?            01/01/70 00:00      
      RE: Ascii/Decimal?            01/01/70 00:00      
      RE: Ascii/Decimal?            01/01/70 00:00      
         RE: Ascii/Decimal?            01/01/70 00:00      
         RE: Ascii/Decimal?            01/01/70 00:00      
            RE: Ascii/Decimal?            01/01/70 00:00      

Back to Subject List