Move the cursor col/row position to the offset from current position. The offset is a signed Byte, value from -128 to +127, the offset is the count of number of the pixels.
|
Direct: |
"ETOxy" |
|
Arduino: |
void setTextPosOffset(signed char xoffset, signed char yoffset) |
|
C: |
void Digole_setTextPosOffset(signed char xoffset, signed char yoffset) |
x(xoffset), y(yoffset)
The pixels number from current position on horizontal and vertical directions. Negative numbers move to up/left, positive number move to down/right.
none
mydisp.setTextPosOffset(-15,8); //set cursor position from current to left 15 pixels, and down 8 pixels
serial.writeString("ETOP\xF1\x08"); //set cursor position from current to left 15 pixels, and down 8
| Version | Description |
|---|---|
Set cursor position on character