Skip to content

NRF52840, get VDDH voltage #7756

Answered by gfwilliams
yerpj asked this question in Other Boards
May 16, 2025 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Just merged this in - slightly renamed jshReadVRefH

I think if someone made a board where it was powered from VDDH they could provide a 'DEFINES+=-DCUSTOM_GETBATTERY=jswrap_myboard_getBattery' function like we do for Puck.js and that could use the voltage to provide a percentage? I guess exposing VDDH might be handy for something anyway though, even if it's just debugging

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@gfwilliams
Comment options

@yerpj
Comment options

@fanoush
Comment options

@gfwilliams
Comment options

Answer selected by yerpj
@yerpj
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants