![]() |
Color OLED module library
v0.5
Library for the WaveShare 0.96-inch color OLED (SSD1331) module
|
#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... | |
__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.
void ssd1331_writeLockClear | ( | char | devId | ) |
Clears the SPI communication lockout.
devId | The ID of the device (usually the chip select pin). |
void ssd1331_writeLockSet | ( | char | devId | ) |
Sets the SPI communication lockout.
devId | The ID of the device (usually the chip select pin). |