esp-idf-lib/components/encoder/Kconfig

Mon, 03 Apr 2023 20:11:29 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 03 Apr 2023 20:11:29 +0200
changeset 13
c3b29a1dcf1e
parent 1
1c9894662795
permissions
-rw-r--r--

Changed voltage range to 32 volt. Tried INA219 powersave mode, doesn't work.

menu "Rotary encoders"

	config RE_MAX
		int "Maximum number of rotary encoders"
		default 1
			
	config RE_INTERVAL_US
		int "Polling interval, us"
		default 1000
		
	config RE_BTN_DEAD_TIME_US
		int "Button dead time, us"
		default 10000
			
	choice RE_BTN_PRESSED_LEVEL
		prompt "Logical level on pressed button"
		config RE_BTN_PRESSED_LEVEL_0
			bool "0"
		config RE_BTN_PRESSED_LEVEL_1
			bool "1"
	endchoice
	
	config RE_BTN_LONG_PRESS_TIME_US
		int "Long press timeout, us"
		default 500000

endmenu

mercurial