COSA
An Object-Oriented Platform for Arduino Programming
OWI.hh File Reference
#include "Cosa/Types.h"
#include "Cosa/IOPin.hh"
#include "Cosa/IOStream.hh"
Include dependency graph for OWI.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OWI
 
class  OWI::Driver
 
class  OWI::Search
 

Functions

IOStreamoperator<< (IOStream &outs, OWI::Driver &dev)
 
IOStreamoperator<< (IOStream &outs, OWI &owi)
 

Detailed Description

Version
1.0

License

Copyright (C) 2012-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file OWI.hh.

Function Documentation

IOStream& operator<< ( IOStream outs,
OWI::Driver dev 
)

Print device driver name and rom to output stream.

Parameters
[in]outsstream to print to.
[in]devowi device driver.
Returns
output stream.

Definition at line 292 of file OWI.cpp.

IOStream& operator<< ( IOStream outs,
OWI owi 
)

Print list of connected devices on given stream.

Parameters
[in]outsstream to print device information to.
[in]owione-wire bus.
Returns
output stream.

Definition at line 149 of file OWI.cpp.