7 |
#pragma once |
#pragma once |
8 |
|
|
9 |
#include <vector> |
#include <vector> |
10 |
|
#include <string> |
11 |
|
#include <stdexcept> |
12 |
typedef std::vector<unsigned char> UCVector; |
typedef std::vector<unsigned char> UCVector; |
13 |
|
|
14 |
#ifndef _WINDOWS // |
#ifndef _WINDOWS // |
39 |
void close(); |
void close(); |
40 |
void open(char* port, int bitrate); |
void open(char* port, int bitrate); |
41 |
|
|
42 |
unsigned char readByte(); |
int readByte(); |
43 |
void writeByte(unsigned char out); |
void writeByte(unsigned char out); |
44 |
|
|
45 |
#ifdef _WINDOWS |
#ifdef _WINDOWS |