• Welcome to Andy's Workshop Forums. Please login or sign up.
 
February 06, 2023, 10:27:14 pm

News:

SMF - Just Installed!


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

1
General discussion / HELP Nokia 6280 LCD
August 06, 2017, 09:38:19 am
I have a display of Nokia 6280.
On the Internet write that it is compatible with MC2PA8201
Hardware scrolling does not work
Void MC2PA8201_ScrollArea (uint16_t y, uint16_t pos) {
  Uint16_t bfa = 320-pos-y;
  Wr_cmd (VERTICAL_SCROLLING_DEFINITION); // 0x33
  Wr_dat (y >> 8);
  Wr_dat (y);
  Wr_dat (pos >> 8);
  Wr_dat (pos);
  Wr_dat (bfa >> 8);
  Wr_dat (bfa);
}

Void MC2PA8201_SetScrollPosition (uint16_t pos) {
  Wr_cmd (VERTICAL_SCROLLING_START_ADDRESS); // 0x37
  Wr_dat (pos >> 8);
  Wr_dat (pos);
}

When you call MC2PA8201_ScrollArea (0.320);
The screen switches to portrait mode
When you call MC2PA8201_SetScrollPosition (uint16_t pos) in the loop, nothing
Occurs
How to solve this problem?
On the Internet write that this display stands in Nokia 6270/6288/6265/6275/6282
Where can I find the description of the commands for this lcd?