Turn the flashing cursor ON or OFF

Description

The cursor is a flashing underline "_" display at current cursor position, it can't turned ON or OFF. Turn the cursor OFF will save MCU time. Suggest only turn it on when MCU idles(or light loads).

Note: the current font must include the underline "_" character, otherwise, this command won't work

Usage:

Direct:

 "CSo"

Arduino:

void disableCursor(void)
void enableCursor(void)

C:

void Digole_disableCursor(void)
void Digole_enableCursor(void)

Parameters:

o

If o=1, turn the cursor ON, if o=0, turn the cursor OFF.

Return:

none

Example (Arduino):

mydisp.disableCursor(); //turn the cursor off

Example(direct)

serial.writeString("CS0"); //turn the cursor off

Changelog

Version Description
   

See Also

Set cursor position on pixel

Set cursor position on character