Color OLED module library  v0.5
Library for the WaveShare 0.96-inch color OLED (SSD1331) module
Functions
ssd1331_spiWrite.c File Reference
#include "ssd1331.h"

Functions

 __attribute__ ((fcache))
 
char ssd1331_writeLock ()
 Returns the status of the SPI communication lockout so multiple cogs don't try to write to it at the same time. More...
 
void ssd1331_writeLockSet (char devId)
 Sets the SPI communication lockout. More...
 
void ssd1331_writeLockClear (char devId)
 Clears the SPI communication lockout. More...
 

Function Documentation

◆ __attribute__()

__attribute__ ( (fcache)  )

◆ ssd1331_writeLock()

char ssd1331_writeLock ( )

Returns the status of the SPI communication lockout so multiple cogs don't try to write to it at the same time.

◆ ssd1331_writeLockClear()

void ssd1331_writeLockClear ( char  devId)

Clears the SPI communication lockout.

Parameters
devIdThe ID of the device (usually the chip select pin).

◆ ssd1331_writeLockSet()

void ssd1331_writeLockSet ( char  devId)

Sets the SPI communication lockout.

Parameters
devIdThe ID of the device (usually the chip select pin).