Mercurial > public > hwos_code
comparison src/ostc3.asm @ 120:e2f04bb2539c
battery check in sleep
author | heinrichsweikamp |
---|---|
date | Fri, 27 Jun 2014 15:52:43 +0200 |
parents | f3062a611eef |
children | a004b482604a |
comparison
equal
deleted
inserted
replaced
119:2acf3d068fae | 120:e2f04bb2539c |
---|---|
99 movlw b'00000000' ; 1= Input -> Data TFT_low | 99 movlw b'00000000' ; 1= Input -> Data TFT_low |
100 movwf TRISH | 100 movwf TRISH |
101 movlw b'00000000' ; Init port | 101 movlw b'00000000' ; Init port |
102 movwf PORTH | 102 movwf PORTH |
103 | 103 |
104 movlw b'10010011' ; 1= Input, RJ4 -> vusb_in, RJ5 -> power_sw2, RJ6 -> CLK_MS5541, RJ7 -> MISO_MS5541 | 104 movlw b'10011011' ; 1= Input, RJ4 -> vusb_in, RJ5 -> power_sw2, RJ6 -> CLK_MS5541, RJ7 -> MISO_MS5541 |
105 movwf TRISJ | 105 movwf TRISJ |
106 movlw b'00100000' ; Init port | 106 movlw b'00100000' ; Init port |
107 movwf PORTJ | 107 movwf PORTJ |
108 | 108 |
109 | 109 |