PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
Display
liblcdParallel
lcdParallel_setCursor.c
Go to the documentation of this file.
1
18
#include "
lcdParallel.h
"
19
#include "
simpletools.h
"
20
21
void
lcdParallel_setCursor
(lcdParallel *device,
char
col,
char
row)
22
{
23
if
( row >= 4 ) {
24
row = 3;
25
}
26
if
( row >= device->_numlines ) {
27
row = device->_numlines - 1;
28
}
29
30
lcdParallel_send
(device, LCDP_SETDDRAMADDR | (col + device->_row_offsets[row]), LCDP_SEND_COMMAND);
31
}
32
lcdParallel.h
Display driver for character LCD screens based on Hitachi HD44780 (or compatible) chipsets,...
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
lcdParallel_send
void lcdParallel_send(lcdParallel *device, char value, char mode)
Low-level function used to transmit data to the display.
Definition:
lcdParallel_send.c:26
lcdParallel_setCursor
void lcdParallel_setCursor(lcdParallel *device, char col, char row)
Sets the cursor to the specified location on the disply's screen.
Definition:
lcdParallel_setCursor.c:21
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17