summaryrefslogtreecommitdiff
path: root/software/ihu/ihu.asm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-12-21 19:46:59 +0000
committerChristian Pointner <equinox@mur.at>2011-12-21 19:46:59 +0000
commit4b39f2243d63e14569bc2c904c0e120ed60be92f (patch)
tree1120c9049376f5963d444ff95afee8e872444cd4 /software/ihu/ihu.asm
parentfixed header info (2011 vs. 2012) (diff)
solar power calculations
git-svn-id: https://svn.spreadspace.org/mur.sat@228 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ihu/ihu.asm')
-rw-r--r--software/ihu/ihu.asm27
1 files changed, 20 insertions, 7 deletions
diff --git a/software/ihu/ihu.asm b/software/ihu/ihu.asm
index 264452b..552c213 100644
--- a/software/ihu/ihu.asm
+++ b/software/ihu/ihu.asm
@@ -108,13 +108,26 @@ ADC_SOLAR_C0 EQU H'0050'
ADC_SOLAR_C1 EQU H'0051'
ADC_SOLAR_C2 EQU H'0052'
ADC_SOLAR_C3 EQU H'0053'
-ADC_SOLAR_C4 EQU H'0054'
-ADC_SOLAR_C5 EQU H'0055'
-ADC_SOLAR_C6 EQU H'0056'
-ADC_SOLAR_C7 EQU H'0057'
-ADC_SOLAR_C8 EQU H'0058'
-ADC_SOLAR_C9 EQU H'0059'
-ADC_SOLAR_V EQU H'005A'
+ADC_SOLAR_V0 EQU H'0054'
+ADC_SOLAR_C4 EQU H'0055'
+ADC_SOLAR_C5 EQU H'0056'
+ADC_SOLAR_C6 EQU H'0057'
+ADC_SOLAR_C7 EQU H'0058'
+ADC_SOLAR_V1 EQU H'0059'
+SOL_POWERL EQU H'005A'
+SOL_POWERH EQU H'005B'
+
+SOL_CALC_0 EQU H'005C'
+SOL_CALC_1 EQU H'005D'
+SOL_CALC_2 EQU H'005E'
+SOL_CALC_3 EQU H'005F'
+SOL_CALC_4 EQU H'0060'
+SOL_CALC_5 EQU H'0061'
+SOL_CALC_6 EQU H'0062'
+SOL_CALC_7 EQU H'0063'
+SOL_CALC_8 EQU H'0064'
+SOL_CALC_9 EQU H'0065'
+SOL_CALC_CNT EQU H'0066'
;; variables
;; page 2 only