Set a byte of bitimage data for line drawing, refer to bit image.
When the diplay drawing line, it scan the line pattern, if the current bit is 1, then draw a dot, otherwise do nothing, then move to next bit for next dot of line.
This command affect all following outputs to screen, until set to a different pattern.
|
Direct: |
"SLPd" |
|
Arduino: |
void setLinePattern(uint8_t d) |
|
C: |
void Digole_setLinePattern(uint8_t d) |
d
A byte of line pattern.
none
mydisp.setLinePattern(0B11001100); //set the line patter of dash
mydisp.drawHLine(30,40,50); //draw a line like: - - - - -
serial.writeString("SLP\xCC"); //set the line patter of dash
serial.writeString("LN\x1E\x28\x50\x28");//draw a line like: - - - - -
| Version | Description |
|---|---|