Hey! I'm trying to get my ssd1306 oled working with atmega328, but it doesn't do anything. The codes are in the codes.zip
This is the first time I'm using the SPI by directly setting the registers, so I quess there might be some kind of problem with setting the registers.
I've been debugging it the whole day without any luck, hope someone could figure out what's wrong with the code.