#include "GameBoy.h"
GameBoy gb;
int pointX = 5;
int pointY = 5;
int car[4][3]={
{0,1,0},
{1,1,1},
{0,1,0},
{1,0,1}
};
void cs(int x,int y){
for(int c=0;c<3;c++)
for(int r=0;r<4;r++)
gb.setLed(x+c,y+r,car[r][c]);
}
void setup() {
gb.begin(0);
cs(4,8);
}
void loop() {
gb.ciearDispley();
cs(gb.getKey()==5 * 6, 10 );
deley(100)
}