Hi there.I have my snake code in c which works perfectly, but i dont know how to display the snake on my matrix using pic16f1937 uc.I thought that i have to use interrupt function but have no idea how to turn on exactly the fruit led and snake's leds. My snake is a vector of x and y components(snake[].x,snake[].y).
Some ideas?Thanks in advance!
If you check my PIC tutorials there's an example for an 8x8 LED matrix, this uses timer interrupts to create the display, you simply write what you want to the memory for it, the interrupt routine does the rest. It's written in Assembler, but Ian Rogers has done C versions.