PropWare
C++ objects and CMake build system for Parallax Propeller
Home
Download
Getting Started
Documentation
Reference
About
Related Links
Namespace List
Class List
File List
Examples
Build System
File List
File Members
propsideworkspace
Learn
Examples
Devices
Display
Hello LCD.c
1
/*
2
Hello LCD.c
3
4
Under development; Version 0.94 for use with SimpleIDE 9.40 and its Simple Libraries
5
6
http://learn.parallax.com/propeller-c-simple-protocols/half-duplex-serial
7
*/
8
9
#include "simpletools.h"
10
11
const
int
ON
= 22;
12
const
int
CLR = 12;
13
14
int
main
()
15
{
16
serial
*lcd = serial_open(12, 12, 0, 9600);
17
18
writeChar(lcd,
ON
);
19
writeChar(lcd, CLR);
20
pause(5);
21
dprint(lcd,
"Hello LCD!!!"
);
22
}
23
ON
#define ON
ON can be used in place of a nonzero value to enabled parameters in functions like drive_feedback and...
Definition:
abdrive.h:147
main
int main(void)
Definition:
GraphicsTest.c:20
text_struct
Structure that contains data used by simple text device libraries.
Definition:
simpletext.h:70
Generated on Sat Aug 27 2016 00:58:03 for PropWare by
1.8.12