Start block shapes

This commit is contained in:
Miloslav Ciz 2024-07-22 01:16:16 +02:00
parent 84163d0d3c
commit 9e3bf000cf
8 changed files with 217 additions and 67 deletions

View file

@ -45,9 +45,9 @@ void LCR_sleep(uint16_t timeMs)
usleep(timeMs * 1000);
}
void LCR_drawPixel(unsigned int x, unsigned int y, uint_fast16_t color)
void LCR_drawPixel(unsigned long index, uint16_t color)
{
screen[y * LCR_SETTING_RESOLUTION_X + x] = color;
screen[index] = color;
}
int main(int argc, char *argv[])