comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 287:5f2fe81fde9f

Don't force gas with depth>0 to be active.
author JeanDo
date Thu, 21 Apr 2011 04:16:00 +0200
parents 5351d47ee28a
children 6d8a2550c9ea
comparison
equal deleted inserted replaced
286:5351d47ee28a 287:5f2fe81fde9f
1227 call read_eeprom ; Read depth 1227 call read_eeprom ; Read depth
1228 clrf WREG 1228 clrf WREG
1229 cpfsgt EEDATA ; is depth > 0 ? 1229 cpfsgt EEDATA ; is depth > 0 ?
1230 bra PLED_grey_gas 1230 bra PLED_grey_gas
1231 1231
1232 read_int_eeprom d'27' ; read flag register 1232 clrf EEADRH ; Lower page of EEPROM.
1233 read_int_eeprom d'27' ; read flag register
1233 PLED_grey_inactive_gas1: 1234 PLED_grey_inactive_gas1:
1234 rrcf EEDATA ; roll flags into carry 1235 rrcf EEDATA ; roll flags into carry
1235 decfsz lo,F ; max. 5 times... 1236 decfsz lo,F ; max. 5 times...
1236 bra PLED_grey_inactive_gas1 1237 bra PLED_grey_inactive_gas1
1237 1238