…
OLED_CS_LAT = 0;
OLED_DC_LAT = 1;
SPI_Write( temp);
OLED_CS_LAT = 1;
…