PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Examples
Devices
Display
ePaper Test Coordinates.c
1
/*
2
ePaper Test Coordinates.c
3
*/
4
5
// ------ Libraries and Definitions ------
6
#include "
simpletools.h
"
7
#include "il3820.h"
8
9
// ------ Global Variables and Objects ------
10
screen
*ePaper;
11
12
// ------ Main Program ------
13
int
main
()
14
{
15
ePaper = il3820_init(11, 10, 9, 8, 7, 6, 128, 296);
16
setTextColor(ePaper, 0);
17
setBgColor(ePaper, 0);
18
setCursor(ePaper, 3, 3, 0);
19
drawText(ePaper,
"Hello World!"
);
20
setCursor(ePaper, 8, 8, 0);
21
drawText(ePaper,
"Hello world!"
);
22
setCursor(ePaper, 11, 11, 0);
23
drawText(ePaper,
"Hello World!"
);
24
updateDisplay(ePaper);
25
26
}
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
main
int main(void)
Definition:
GraphicsTest.c:20
screen
Definition:
badgetools.h:1709
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17