Mercurial > public > hwos_code
diff src/adc_lightsensor.asm @ 636:2737ddc643bb
3.11 release
author | heinrichsweikamp |
---|---|
date | Mon, 25 May 2020 17:35:30 +0200 |
parents | 4050675965ea |
children | 8c1f1f334275 |
line wrap: on
line diff
--- a/src/adc_lightsensor.asm Thu May 07 09:12:59 2020 +0200 +++ b/src/adc_lightsensor.asm Mon May 25 17:35:30 2020 +0200 @@ -66,6 +66,10 @@ bcf LEDr ; switch off red LED bcf TRISJ,2 ; activate Chrg-Out output bsf CHRG_OUT ; start charger + nop ; Ignore some noise + nop + nop + nop btfss CHRG_IN ; charging? bra charge_cc_active ; YES - charging in CC mode bcf CHRG_OUT ; NO - stop charger