Mercurial > public > hwos_code
comparison src/adc_lightsensor.inc @ 623:c40025d8e750
3.03 beta released
author | heinrichsweikamp |
---|---|
date | Mon, 03 Jun 2019 14:01:48 +0200 |
parents | ca4556fb60b9 |
children | 75e90cd0c2c3 |
comparison
equal
deleted
inserted
replaced
622:02d1386429a6 | 623:c40025d8e750 |
---|---|
1 ;============================================================================= | 1 ;============================================================================= |
2 ; | 2 ; |
3 ; File adc.inc | 3 ; File adc_lightsensor.inc combined next generation V3.03.1 |
4 ; | 4 ; |
5 ; | 5 ; |
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. | 6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. |
7 ;============================================================================= | 7 ;============================================================================= |
8 ; HISTORY | 8 ; HISTORY |
9 ; 2011-08-08 : [mH] moving from OSTC code | 9 ; 2011-08-08 : [mH] moving from OSTC code |
10 | 10 |
11 extern get_battery_voltage ; and percent... | 11 extern get_battery_voltage ; and percent... |
12 extern get_ambient_level | 12 extern get_ambient_level ; get ambient light level and adjust backlight |
13 extern reset_battery_pointer ; resets battery pointer 0x07-0x0C and battery_gauge:5 | |
14 extern reset_battery_internal_only ; internal registers only | |
15 extern get_analog_inputs ; get AN8-10 | |
16 extern piezo_config ; set up piezo sensitivity of heinrichs weikamp piezo buttons (~30ms) | 13 extern piezo_config ; set up piezo sensitivity of heinrichs weikamp piezo buttons (~30ms) |
17 extern get_analog_switches ; get analog switches | 14 extern get_analog_switches ; get analog switches |
15 | |
16 IFDEF _external_sensor | |
17 extern get_analog_inputs ; get AN8-10 | |
18 ENDIF |