reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofSerial.h File Reference
#include "ofConstants.h"
#include <winbase.h>
#include <tchar.h>
#include <iostream>
#include <string.h>
#include <devpropdef.h>
#include <setupapi.h>
#include <regstr.h>
#include <winioctl.h>

Go to the source code of this file.

Classes

class  ofSerialDeviceInfo
 Describes a Serial device, including ID, name and path. More...
 
class  ofSerial
 ofSerial provides a cross platform system for interfacing with the serial port. You can choose the port and baud rate, and then read and send data. Please note that the port must be set manually in the code, so you should be clear what port your device is on. For example, Arduino users should check the arduino app to see what port their device is on. Alternatively the ofSerial class can attempt to communicate with the first available device it finds. More...
 

Macros

#define OF_SERIAL_NO_DATA   -2
 
#define OF_SERIAL_ERROR   -1
 

Macro Definition Documentation

◆ OF_SERIAL_ERROR

#define OF_SERIAL_ERROR   -1

◆ OF_SERIAL_NO_DATA

#define OF_SERIAL_NO_DATA   -2