Mercurial > public > hwos_code
comparison src/i2c.asm @ 275:653a3ab08062
rename into hwOS
author | heinrichsweikamp |
---|---|
date | Thu, 07 May 2015 13:11:14 +0200 |
parents | 23311219dacc |
children | ceb1b7329dce |
comparison
equal
deleted
inserted
replaced
274:9347893b74ce | 275:653a3ab08062 |
---|---|
14 ;============================================================================= | 14 ;============================================================================= |
15 ; HISTORY | 15 ; HISTORY |
16 ; 2012-08-22 : [mH] Creation | 16 ; 2012-08-22 : [mH] Creation |
17 | 17 |
18 | 18 |
19 #include "ostc3.inc" ; Mandatory header | 19 #include "hwos.inc" ; Mandatory header |
20 #include "wait.inc" | 20 #include "wait.inc" |
21 #include "math.inc" | 21 #include "math.inc" |
22 | 22 |
23 #DEFINE battery_offset .29065 ; 65536-(3,1Ah/0,085mAh) | 23 #DEFINE battery_offset .29065 ; 65536-(3,1Ah/0,085mAh) |
24 #DEFINE battery_devider .365 ; 3,1Ah/0,085mAh/100 [%] | 24 #DEFINE battery_devider .365 ; 3,1Ah/0,085mAh/100 [%] |