1 /*----------------------------------------------------------------------------+ 2 | | 3 | RFXSensor and RFXMeter Support for HEYU | 4 | Copyright 2008 Charles W. Sullivan | 5 | | 6 | | 7 | As used herein, HEYU is a trademark of Daniel B. Suthers. | 8 | X10, CM11A, and ActiveHome are trademarks of X-10 (USA) Inc. | 9 | The author is not affiliated with either entity. | 10 | | 11 | Charles W. Sullivan | 12 | Co-author and Maintainer | 13 | Greensboro, North Carolina | 14 | Email ID: cwsulliv01 | 15 | Email domain: -at- heyu -dot- org | 16 | | 17 +----------------------------------------------------------------------------*/ 18 19 /* 20 * This program is free software: you can redistribute it and/or modify 21 * it under the terms of the GNU General Public License as published by 22 * the Free Software Foundation, either version 3 of the License, or 23 * (at your option) any later version. 24 * 25 * This program is distributed in the hope that it will be useful, 26 * but WITHOUT ANY WARRANTY; without even the implied warranty of 27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 * GNU General Public License for more details. 29 * 30 * You should have received a copy of the GNU General Public License 31 * along with this program. If not, see <http://www.gnu.org/licenses/>. 32 * 33 */ 34 35 36 /* Formats for displayed values of RFXSensor variables */ 37 #define FMT_RFXT "%.3f" /* Temperature */ 38 #define FMT_RFXRH "%.2f" /* Relative Humidity */ 39 #define FMT_RFXBP "%.4g" /* Barometric Pressure */ 40 #define FMT_RFXVAD "%.2f" /* A/D Voltage */ 41 42 /* Formats for displayed values of RFXMeter variables */ 43 #define FMT_RFXPOWER "%.3f" /* Power meter */ 44 #define FMT_RFXWATER "%.0f" /* Water meter */ 45 #define FMT_RFXGAS "%.2f" /* Gas meter */ 46 #define FMT_RFXPULSE "%.0f" /* General pulse meter */ 47