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 - PhilipJ

Pages: [1]
1
OLEDs / What is 'shift' in example code
« on: February 06, 2017, 06:44:27 AM »
Hi All,
I have just started with an NHD-3.12-25664UMB3 display and downloaded the example code to drive it, thanks for that it's a great help in getting started quickly.

Some of the routines include use of a variable named Shift; e.g.

void Fill_Block_25664(unsigned char Data, unsigned char a, unsigned char b, unsigned char c, unsigned char d)
{
    Set_Column_Address_25664(Shift+a,Shift+b);
    ....

I just wonder what this variable represents as I can't find it defined anywhere in the code (which I quite understand is not meant to be a full program). I've tried taking it out but I'm not sure if the function is operating correctly without it.

Thanks for any assistance
PhilipJ

Pages: [1]