diff options
| author | Carey <kcarey1@APC02S226SG8WM.local> | 2020-10-28 07:40:54 -0500 | 
|---|---|---|
| committer | Carey <kcarey1@APC02S226SG8WM.local> | 2020-10-28 07:40:54 -0500 | 
| commit | 99ad9cbdefee94007511ec2e53437951cf0e4305 (patch) | |
| tree | 168c9886965ad5e5f36f4fbbad55cd5f70c5124e /app/boards/arm/bluemicro840/bluemicro840_v1.dts | |
| parent | 6aae66782682ffcabf953d785308b83ee16fc3b6 (diff) | |
| parent | cb922fd8a2a3eddcbece040ca3727d43b171ffe3 (diff) | |
Merge https://github.com/zmkfirmware/zmk into refactor_kconfig
Diffstat (limited to 'app/boards/arm/bluemicro840/bluemicro840_v1.dts')
| -rw-r--r-- | app/boards/arm/bluemicro840/bluemicro840_v1.dts | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/app/boards/arm/bluemicro840/bluemicro840_v1.dts b/app/boards/arm/bluemicro840/bluemicro840_v1.dts index c693662..32aa2e6 100644 --- a/app/boards/arm/bluemicro840/bluemicro840_v1.dts +++ b/app/boards/arm/bluemicro840/bluemicro840_v1.dts @@ -29,6 +29,18 @@  		};  	}; +	vbatt { +		compatible = "zmk,battery-voltage-divider"; +		label = "VOLTAGE_DIVIDER"; +		io-channels = <&adc 7>; +		output-ohms = <2000000>; +		full-ohms = <(2000000 + 806000)>; +	}; + +}; + +&adc { +	status = "okay";  };  &gpio0 { | 
