UNPKG
comportc
Version:
latest (1.1.6)
1.1.6
1.1.5
1.0.5
1.0.4
1.0.3
1.0.2
Allow you read and write a Serial Port
comportc
/
lib
/
index.d.ts
9 lines
(8 loc)
•
226 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
interface
SerialI
{
Open
:
(
port
:
number
,
baud
:
number
) =>
boolean
;
Read
:
() =>
string
;
Close
:
() =>
void
;
Write
:
(
message
:
string
) =>
string
; }
declare
const
_default
:
SerialI
;
export
default
_default;