PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
libArduino
libPropelleruino
Serial.cpp
Go to the documentation of this file.
1
10
#include "
Arduino.h
"
11
#include <stdio.h>
12
13
int
Serial_::available(
void
)
14
{
15
return
false
;
16
}
17
18
void
Serial_::begin(uint16_t baud_count)
19
{
20
}
21
22
void
Serial_::end(
void
)
23
{
24
}
25
26
void
Serial_::flush(
void
)
27
{
28
}
29
30
void
Serial_::print(
const
char
* str)
31
{
32
printf(
"%s"
, str);
33
}
34
35
void
Serial_::println(
long
num)
36
{
37
printf(
"%d\n"
, num);
38
}
39
40
void
Serial_::println(
const
char
* str)
41
{
42
printf(
"%s\n"
, str);
43
}
44
45
int
Serial_::read(
void
)
46
{
47
return
getchar();
48
}
49
50
Serial_
Serial;
Serial_
Definition:
Serial.h:12
Arduino.h
Provides Arduino types and functions on the Propeller.
Generated on Fri May 20 2022 16:48:01 for PropWare by
1.8.17