Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 155 → Rev 157

/PIC Stuff/PICX_27J13/oled_ssd1306.c
251,7 → 251,7
}
 
// Need to do this for some reason since x + (y / 8) * SSD1306_LCDWIDTH returns -128?!
// TODO: Change this back when they fix the interrupt routine code
// TODO: Change this back when they fix the compiler
int loc = (y / 8) * SSD1306_LCDWIDTH;
loc += x;
// x is which column