You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I TFT_eSPI::p ushPixels extend the following methods to compensate for the missing methods:
void TFT_eSPI::pushIndexedPixels(uint8_t *data, uint16_t *idx, uint32_t len)
{
uint8_t currentIndex;
while (len--)
{
currentIndex = *data;
tft_Write_16(idx[currentIndex]);
data++;
}
}
Can you add a change method so that I don't need to change your code
The text was updated successfully, but these errors were encountered:
sevenberyl
changed the title
是否可以添加pushIndexedPixels方法?或者有类似的方法让我调用?
Is it possible to add a pushIndexedPixels method? Or is there something like that for me to call?
Nov 20, 2024
I TFT_eSPI::p ushPixels extend the following methods to compensate for the missing methods:
void TFT_eSPI::pushIndexedPixels(uint8_t *data, uint16_t *idx, uint32_t len)
{
uint8_t currentIndex;
while (len--)
{
currentIndex = *data;
tft_Write_16(idx[currentIndex]);
data++;
}
}
Can you add a change method so that I don't need to change your code
The text was updated successfully, but these errors were encountered: