esp-idf-lib/components/example/Kconfig

Thu, 13 Apr 2023 15:28:11 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 13 Apr 2023 15:28:11 +0200
changeset 28
5872b972e553
parent 1
1c9894662795
permissions
-rw-r--r--

Added INA219 power save mode again, it works now. Don't measure shunt voltage and current, just the shunt voltage and calculate the current.

menu "Example"
    choice EXAMPLE_CHOOSE
        prompt "Choose one"
        default EXAMPLE_USING_FOO
        help
            An example to choose one from choices
        config EXAMPLE_USING_FOO
            bool "FOO"
        config EXAMPLE_USING_BAR
            bool "BAR"
    endchoice
    config EXAMPLE_NUMBER
        int "Number example"
        default 1
        help
            An example to choose number
endmenu

mercurial