view src/i2c.inc @ 472:4fdf6886004b

CHANGE: Show warnings either in Customview (If active) _or_ next to warning sign NEW: Show battery type in information menu (T0:1.5V AA, T1:3.6V AA, T2:3.6V/0.8A LiIon, T3:Internal 18650, T4:Internal 16650)
author heinrichsweikamp
date Sun, 18 Dec 2016 18:20:39 +0100
parents f3062a611eef
children b7eb98dbd800
line wrap: on
line source

;=============================================================================
;
;   File i2c.inc
;
;
;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
;=============================================================================
; HISTORY
;  2012-10-24 : [mH] Creation

	extern	I2C_RX_accelerometer
	extern 	I2C_init_accelerometer
    extern  I2C_sleep_accelerometer
    extern  I2C_init_compass
    extern  I2C_init_compass_fast
    extern  I2C_sleep_compass
    extern  I2C_RX_compass
    extern  lt2942_get_voltage              ; Read battery voltage registers
    extern  lt2942_get_accumulated_charge   ; Get battery gauge registers
    extern  lt2942_init                     ; Init
    extern  lt2942_get_status               ; Get status