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

Functions

void ssd1331_drawPixel (screen_t *dev, int x, int y, int color)
 Draws a single pixel on the screen in the specified color. No checking. More...
 

Function Documentation

◆ ssd1331_drawPixel()

void ssd1331_drawPixel ( screen_t *  dev,
int  x,
int  y,
int  color 
)

Draws a single pixel on the screen in the specified color. No checking.

Parameters
devPointer to the display's device structure returned by the initialization function.
xHorizontal coordinate of the pixel, counted from the left side of the screen.
yVertical coordinate of the pixel, counted down from the top of the screen.
colorColor of the pixel.