Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Bus Voltage Range Mask

  • Loading branch information...
commit ff967e78ce0a604fe172f492d4f9f4d9db1e35bd 1 parent 867ca59
K. Townsend authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Adafruit_INA219.h
View
4 Adafruit_INA219.h
@@ -39,9 +39,9 @@
/*---------------------------------------------------------------------*/
#define INA219_CONFIG_RESET (0x8000) // Reset Bit
- #define INA219_CONFIG_BVOLTAGERANGE_MASK (0x4000) // Bus Voltage Range Mask
+ #define INA219_CONFIG_BVOLTAGERANGE_MASK (0x2000) // Bus Voltage Range Mask
#define INA219_CONFIG_BVOLTAGERANGE_16V (0x0000) // 0-16V Range
- #define INA219_CONFIG_BVOLTAGERANGE_32V (0x4000) // 0-32V Range
+ #define INA219_CONFIG_BVOLTAGERANGE_32V (0x2000) // 0-32V Range
#define INA219_CONFIG_GAIN_MASK (0x1800) // Gain Mask
#define INA219_CONFIG_GAIN_1_40MV (0x0000) // Gain 1, 40mV Range

0 comments on commit ff967e7

Please sign in to comment.
Something went wrong with that request. Please try again.