Author Topic: Question about 256x64 sample code  (Read 1995 times)

Dogus

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Question about 256x64 sample code
« on: November 16, 2016, 08:28:22 AM »
In the provided code snippet , there are some parts that neither my compiler nor i, can understand .

Link to the code : https://www.newhavendisplay.com/app_notes/OLED_25664.txt

  case 1:
         Src_Pointer=&Ascii_1[(b-1)][0];
         break;


Ascii_1 array was never defined, should i create a global ascii table array in order to make this function work ?

  Set_Column_Address_25664(Shift+c,Shift+c);

  • Again, shift was never defined.

Both of these lines are in void Show_Font57_25664() function. I am trying to port this code to a pic MCU . How can i find the missing variables ?


Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 379
  • Karma: 10
    • View Profile
Re: Question about 256x64 sample code
« Reply #1 on: November 16, 2016, 03:13:30 PM »
Some of these commands are required for our NHDev Development Board code.

I do have example Arduino code for this display, could you please email me at sbaxi@newhavendisplay.com for the examples.

semed

  • Jr. Member
  • **
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Question about 256x64 sample code
« Reply #2 on: February 13, 2018, 10:50:59 AM »
hi Doug

did you ever find the missing pieces of the code for SSD1322 for  PIC microcontroller
I am having the same issues with Shift and Ascii_1 not defined I am interfacing with a PIC32
if you did please share
thanks
semedxy@gmail.com

 

NHD‐0420CW‐AG3 + I2C + PIC assembly code: trouble getting started

Started by RichardRBoard OLEDs

Replies: 4
Views: 5899
Last post December 17, 2015, 03:12:49 AM
by RichardR
NHD‐0420CW‐AG3 Contrast question

Started by RichardRBoard OLEDs

Replies: 2
Views: 4124
Last post January 16, 2016, 09:52:02 AM
by RichardR
Korean Hex GB code for OLED multi font display NHD-2.7-12864UMY3

Started by newhavenuserBoard OLEDs

Replies: 0
Views: 3309
Last post May 05, 2017, 01:17:45 PM
by newhavenuser
Demo code for NHD-0216K3Z-FS(RGB)-FBW-V3 module on an ATMEL ATtiny 2313A

Started by swulfBoard Customer Projects

Replies: 1
Views: 3582
Last post December 11, 2017, 07:56:43 AM
by Paul_B
Arduino demo code for running the NHD-0420DZW-AB5 OLED display via SPI

Started by llameroBoard OLEDs

Replies: 1
Views: 1652
Last post May 21, 2018, 11:28:30 AM
by Ted_M