An arduino library to communicate using the Dallas one-wire protocol, where the Arduino takes the role of a slave.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
292 B

#ifndef _SerialChannel_h_
#define _SerialChannel_h_
class SerialChannel
{
private:
static short nextId;
short id;
public:
SerialChannel();
void init(const char* name);
void write(byte* data, short byteCount);
void write(const char* text);
};
#endif