eeprom unknown number?

captnemo

New Member
I was looking at a program in the forum and I'm stumped as to what these numbers represent or how they are derived.
The program stores the ASCII values for letters and numbers, in the onboard eeprom, for use in an LCD display. I can understand just storing the actual ASCII value, but I don't know what the numbers in the brackets represent ie; 124,130,130 etc. If it's code for an ASCII number, how is it derived?
Here are a few lines of the code.
eeprom 0, (124,130,130,130,124) ; 0 (ASCII 48)
eeprom 5, (136,132,254,128,128) ; 1
eeprom 10, (196,162,162,146,140) ; 2
 

inglewoodpete

Senior Member
It's a guess but the numbers look like bit patterns for a graphical (bitmapped) display.

The first one draws a zero:
Code:
 xxx
x   x
x   x
x   x
x   x
x   x
x   x
 xxx
Each column is represented by a binary number (zeros and ones) 124 = %01111110 and 130 = %10000001
 
Top