You are doing things completely the wrong way.
I just modifying a few things in the code and have shifted the whole display down 8 lines
There may even be a simpler way than what I've done because the display controller supports scrolling
https://www.crystalfontz.com/controller ... 8353-E/93/
But that would take longer to investigate.
Anyway. I changed a few lines of code e.g.
Code: Select all
#if defined(PLATFORM_DM1701)
#define DISPLAY_SIZE_Y 120
#else
#define DISPLAY_SIZE_Y 128
#endif
Changed the display rendering code slightly so the start line and end line , in the command to the didplay controller are increased by 8
Code: Select all
// Set start and end rows of the transfer
{
#if defined(PLATFORM_DM1701)
uint8_t opts[] = { 0x00, startRow + 8, 0x00, endRow + 8 };
#else
uint8_t opts[] = { 0x00, startRow, 0x00, endRow };
#endif
displayWriteCmds(HX8583_CMD_RASET, sizeof(opts), opts);
}
Edit.
I need to update the code that handles the screengrab, to put black at the top, but it looks like it needs a bit more work.
Number of items on Zone list also would need to be changed
Anyway.
I do NOT have time to do this now.
I'm working on the MD2017 Beta release
Please do this youself
Anyway..
- vfo.png (3.55 KiB) Viewed 1042 times
- sweepscan.png (5.67 KiB) Viewed 1042 times
- channel.png (3.45 KiB) Viewed 1042 times
Position of Zone just needs to be moved up
- menu.png (3.87 KiB) Viewed 1042 times
Number of menu items needs to be decreased
- satellite_list.png (5.94 KiB) Viewed 1042 times
Number of satellites in the list needs to be reduced