Skip to content

Commit

Permalink
customize battery
Browse files Browse the repository at this point in the history
  • Loading branch information
twilightty committed Apr 12, 2024
1 parent 1c4e7d8 commit f801c2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/sofle.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,8 @@

};
};

vbatt:vbatt {compatible = "zmk, battery-voltage-divider";label = "BATTERY";
io-channels = <&adc 2>;
output-ohms =<2000000>:
full-ohms = <(2000000 +806000)>;pintopin compatible promicro

0 comments on commit f801c2e

Please sign in to comment.