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

Functions

void ssd1331_sleepWakeDisplay (screen_t *dev, char i)
 Sleeps or Wakes the display. More...
 

Function Documentation

◆ ssd1331_sleepWakeDisplay()

void ssd1331_sleepWakeDisplay ( screen_t *  dev,
char  i 
)

Sleeps or Wakes the display.

Parameters
devPointer to the display's device structure returned by the initialization function.
iMode to set the display to: (0) wakes the display (1) sleeps the display.