/* * lm75a.h: part of the "VoluMaster(tm)" system * * An open-source arduino controller-based digital volume control and input/output selector * * * LICENSE * ------- * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #ifndef LM75A_H #define LM75A_H #include #include "config.h" // register codes class LM75A { public: LM75A( uint8_t devI2CAddress ); void init( void ); //void set( uint8_t reg, uint8_t val ); float get_temp( void ); private: uint8_t my_dev_addr; }; #endif // LM75A_H