Implementation of class #SDH::cRS232, a class to access serial RS232 port with VCC compiler on Windows. More...
#include "iostream"
#include <windows.h>
#include "rs232-vcc.h"
#include "simpletime.h"
#include "sdhlibrary_settings.h"
#include "util.h"
#include "dbg.h"
Go to the source code of this file.
Macros | |
#define | _CRT_SECURE_NO_WARNINGS 1 |
#define | DBG(...) |
#define | SDH_RS232_VCC_DEBUG 1 |
Implementation of class #SDH::cRS232, a class to access serial RS232 port with VCC compiler on Windows.
Code kindly provided by Martin from the RoboCluster project Denmark.
Definition in file rs232-vcc.cpp.
#define _CRT_SECURE_NO_WARNINGS 1 |
Definition at line 40 of file rs232-vcc.cpp.
#define DBG | ( | ... | ) |
Definition at line 66 of file rs232-vcc.cpp.
#define SDH_RS232_VCC_DEBUG 1 |
Flag, if true then code for debug messages is included.
The debug messages must still be enabled at run time by setting the some_cRS232_object.dbg.SetFlag(1).
This 2 level scheme is used since this is the lowlevel communication, so debug outputs might really steal some performance.
Definition at line 63 of file rs232-vcc.cpp.