Start block shapes
This commit is contained in:
parent
84163d0d3c
commit
9e3bf000cf
8 changed files with 217 additions and 67 deletions
|
@ -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[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue