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
Examples
PropWare_Spin2Dat
Spin2Dat_Demo.cpp
Go to the documentation of this file.
1
26
// Includes
27
#include <
PropWare/PropWare.h
>
28
#include <fdserial.h>
29
30
int
_cfg_rxpin = -1;
31
int
_cfg_txpin = -1;
32
int
_cfg_baudrate = -1;
33
42
int
main
() {
43
fdserial
*
serial
= fdserial_open(_cfg_rxpin, _cfg_txpin, 0, _cfg_baudrate);
44
for
(
unsigned
int
i = 0;
true
; ++i) {
45
dprinti(serial,
"Hello, world! %03d 0x%02x\n"
, i, i);
46
waitcnt(250 * MILLISECOND + CNT);
47
}
48
}
main
int main(void)
Definition:
GraphicsTest.c:20
PropWare.h
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