0
|
1 ;=============================================================================
|
|
2 ;
|
623
|
3 ; File adc_lightsensor.inc combined next generation V3.03.1
|
0
|
4 ;
|
|
5 ;
|
|
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
|
|
7 ;=============================================================================
|
|
8 ; HISTORY
|
|
9 ; 2011-08-08 : [mH] moving from OSTC code
|
|
10
|
604
|
11 extern get_battery_voltage ; and percent...
|
623
|
12 extern get_ambient_level ; get ambient light level and adjust backlight
|
604
|
13 extern piezo_config ; set up piezo sensitivity of heinrichs weikamp piezo buttons (~30ms)
|
|
14 extern get_analog_switches ; get analog switches
|
623
|
15
|
|
16 IFDEF _external_sensor
|
|
17 extern get_analog_inputs ; get AN8-10
|
|
18 ENDIF
|