Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Bluesboy

Pages: [1]
1
OLEDs / Calculation of Font Addresses Multi‐Font Displays Help!
« on: August 25, 2015, 10:32:01 PM »

Display type: NHD-2.7-12864UMY3
useage: Serial SPImode

From the Font Tables and Application Guide http://www.newhavendisplay.com/app_notes/MultiFont.pdf
 section 2.1 ASCII font table

and section 4.  Calculation of Font Addresses
4.1. 5x7 ASCII

I need help figuring out the what are the the ASCIICODE used in the Address function
if(ASCIICODE >= 0x20 && ASCIICODE <= 0xFF)
 Address = (ASCIICODE 0x20) *8;

example for an "A" character
is the ASCIICODE=hex 21 (from  section 2.1 ASCII font table)? or 12?
or is it =hex 41 (from a standard ASCII table)

also there is an example given in Section 5 to calculate, retrieve and display for a 32 byte Chinese character
is there an example for a simple 8 byte 5x7 ASCII? or I must rewrite to suit?

Thank you very much in advance.





2
Trying to use the NHD-2.7-12864UC  display in Serial mode.
I have some outputs on the PINs but NO display..
I'm not sure if I have to use the Multi-font IC to get straight ASCII characters and graphics with SPI2_S1??
I'm  hooked up as follows...

hookup
pins 1,5,6,10-14,17,18 all tied to GND
pin 2=3.3V
pin3 =nc
pin4 = SS (used as command/data) D/C
pin7= SPI2_SCLK
pin8= SPI2_SI
pin9=nc
pin15=peset pin
pin16 =CS
pins 19-22= nc

note I modified the example code to suit SERIAL SPI
 Is there any serial examples?
Is a better explanation on how to use this display

I need to  display a character and then do some graphics later??

Pages: [1]