mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-06 04:32:38 +00:00
add pushColors(data, len, first) method
This commit is contained in:
@@ -86,6 +86,11 @@ class TFT_HX8357GLUE : public MCUFRIEND_kbv
|
||||
_first = false;
|
||||
}
|
||||
|
||||
void pushColors(uint16_t *data, uint16_t len, int first)
|
||||
{
|
||||
MCUFRIEND_kbv::pushColors((uint16_t*)data, len, first);
|
||||
}
|
||||
|
||||
void pushColor(uint16_t color)
|
||||
{
|
||||
uint16_t c = color;
|
||||
|
||||
Reference in New Issue
Block a user