view src/adc_lightsensor.inc @ 655:c7b7b8a358cd default tip

hwOS tech 3.22 release
author heinrichsweikamp
date Mon, 29 Apr 2024 13:05:18 +0200
parents 75e90cd0c2c3
children
line wrap: on
line source

;=============================================================================
;
;   File adc_lightsensor.inc                  combined next generation V3.03.1
;
;
;   Copyright (c) 2011, JD Gascuel, heinrichs weikamp gmbh, all right reserved.
;=============================================================================
; HISTORY
;  2011-08-08 : [mH] moving from OSTC code

	extern	get_battery_voltage				; and percent...
	extern	get_ambient_level				; get ambient light level and adjust backlight
	extern	piezo_config					; set up piezo sensitivity of heinrichs weikamp piezo buttons (~30ms)
	extern	get_analog_switches				; get analog switches

 IFDEF _external_sensor
	extern	get_analog_inputs				; get AN8-10
 ENDIF