voltage and current sensing
This commit is contained in:
@ -101,12 +101,6 @@
|
||||
label = "Interrupt from BMP388 barometer";
|
||||
zephyr,code = <INPUT_KEY_0>;
|
||||
};
|
||||
|
||||
int_pow: int_pow {
|
||||
gpios = <&gpio0 31 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
label = "Interrupt from current sensor";
|
||||
zephyr,code = <INPUT_KEY_0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -145,7 +139,6 @@
|
||||
pinctrl-1 = <&i2c0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
|
||||
|
||||
ssd1306: ssd1306@3d {
|
||||
compatible = "solomon,ssd1306fb";
|
||||
reg = <0x3d>;
|
||||
@ -159,6 +152,15 @@
|
||||
com-invdir;
|
||||
prechargep = <0x22>;
|
||||
};
|
||||
|
||||
ina231: ina231@45 {
|
||||
compatible = "ti,ina230";
|
||||
reg = <0x45>;
|
||||
// irq-gpios = <&gpio0 31 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
current-lsb-microamps = <7>;
|
||||
rshunt-micro-ohms = <50000>;
|
||||
adc-mode = "Bus and shunt voltage continuous";
|
||||
};
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
|
Reference in New Issue
Block a user