This function moves the content of the display up by the number of specified pixels.

Syntax

void ScrollUp(
  unsigned short height
);

Parameters

height
[in] The number of pixels to move the content of the display up.
Example:ScrollUp(1);
Scroll up the screen line by line.

Return value

None

Remarks

The setting range is as follows depending on each font size.
If you set the display, the status bar will be in the setting range (DISP_HEIGHT -17).
FontSetting range
FONT_TINY 1~ 6* height < DISP_HEIGHT
FONT_SMALL 1~ 8* height < DISP_HEIGHT
FONT_MEDIUM 1~ 12* height < DISP_HEIGHT
FONT_LARGE
FONT_LARGE2
1~ 16* height < DISP_HEIGHT
FONT_HUGE 1~ 24* height < DISP_HEIGHT

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/02