Snake on home-made 6x6 matrix


hi all,

i've build , soldered 6x6 led matrix, , goal play snake on it. i've retrieved code online, made 8x8 matrix, , made adaptation. works !

... displays each line twice. i've filmed result, can watch here : https://youtu.be/ryi8mtezv-y

you can see snake moving left right. it's supposed on line 5 (counting 1 top), , not 4 , 5, while apple supposed on line 6, , not 1 , 6.

the code long fit in message, can find here : https://codeshare.io/9kqtb (let me know if there's solution share guys)

diagram looks this one, 6x6 matrix, on digital in/out, needed resistors. pins 2 7 columns (negative pins of leds), , 8 13 rows (positive pins). no button moment, they'll come on pins 0 , 1 right , left.

i've tried solve myself days, , it's driving me crazy. built second matrix check soldering wasn't issue. able me ? code has tons of comment in order understand it.

thank :-)

schematic diagram please! no point trying if arduino or leds have few hours live!


Arduino Forum > Using Arduino > Project Guidance > Snake on home-made 6x6 matrix


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'