Alik
March 11, 2017, 9:28pm
1
Hi guys,
I want to pass Wire or Wire1 to my library to be able to choose first or second i2c. But I cant find the class name for Wire. Does anybody know the name or where I can download all core headers?
It’s class TwoWire : public Stream
Can be found here
/**
******************************************************************************
* @file spark_wiring_i2c.h
* @author Satish Nair
* @version V1.0.0
* @date 13-March-2013
* @brief Header for spark_wiring_i2c.c module
******************************************************************************
Copyright (c) 2013-2015 Particle Industries, Inc. All rights reserved.
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
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 3 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 has been truncated. show original