ePaper (IL3820) module library  v0.5
Library for the 2.9-inch WaveShare ePaper display module
Functions | Variables
il3820_init.c File Reference
#include "il3820.h"
#include "simpletools.h"

Functions

screen_t * il3820_init (char sdi, char sclk, char cs, char rs, char rst, char busy, int _width, int _height)
 Initializes the ePaper screen by setting up it's SPI and control pins. More...
 

Variables

char _sdi
 
char _dc
 
char _clk
 
char _rst
 

Function Documentation

◆ il3820_init()

screen_t* il3820_init ( char  sid,
char  sclk,
char  cs,
char  rs,
char  rst,
char  busy,
int  width,
int  height 
)

Initializes the ePaper screen by setting up it's SPI and control pins.

Parameters
sidwhich pin is connected to the Serial Data In pin, marked "DIN".
sclkwhich pin is connected to the Serial Clock pin, marked "CLK".
cswhich pin is connected to the Chip Select pin, marked "CS".
rswhich pin is connected to the Read Status pin, marked "D/C".
rstwhich pin is connected to the Reset pin, marked "RST".
busywhich pin is connected to the Busy pin, marked "BUSY".
widthWidth of the display in pixels.
heightHeight of the displayin pixels.

Variable Documentation

◆ _clk

char _clk

◆ _dc

char _dc

◆ _rst

char _rst

◆ _sdi

char _sdi