Mercurial > public > hwos_code
comparison src/adc_lightsensor.asm @ 608:d866684249bd
work on 2.99 stable
author | heinrichsweikamp |
---|---|
date | Mon, 07 Jan 2019 21:13:43 +0100 |
parents | ca4556fb60b9 |
children | b87f23fae743 |
comparison
equal
deleted
inserted
replaced
607:c5151a490d88 | 608:d866684249bd |
---|---|
20 | 20 |
21 ;============================================================================= | 21 ;============================================================================= |
22 | 22 |
23 wait_adc: | 23 wait_adc: |
24 movwf ADCON0 | 24 movwf ADCON0 |
25 nop | |
26 nop | |
25 nop | 27 nop |
26 bsf ADCON0,1 ; start ADC | 28 bsf ADCON0,1 ; start ADC |
27 wait_adc2: | 29 wait_adc2: |
28 btfsc ADCON0,1 ; wait... | 30 btfsc ADCON0,1 ; wait... |
29 bra wait_adc2 | 31 bra wait_adc2 |