/Designs/Measuring_instruments/GM_counter/SW/PIC16F887/main.lst
1,6 → 1,6
CCS PCM C Compiler, Version 4.106, 47914 23-V-13 16:19
CCS PCM C Compiler, Version 4.106, 47914 06-X-13 22:07
 
Filename: Z:\home\kaklik\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\main.lst
Filename: Z:\home\kaklik\svnMLAB\Designs\Measuring_instruments\GM_counter\SW\PIC16F887\main.lst
 
ROM used: 3009 words (37%)
Largest free fragment is 2048
1927,13 → 1927,13
.................... break;
0B1D: GOTO 32B
.................... case TRESHOLD_setup:
.................... if(treshold > 0x05 ) treshold +=5;
.................... if(treshold > 0x05 ) treshold -=5;
0B1E: MOVF 39,W
0B1F: SUBLW 05
0B20: BTFSC 03.0
0B21: GOTO 324
0B22: MOVLW 05
0B23: ADDWF 39,F
0B23: SUBWF 39,F
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
0B24: MOVF 39,W
0B25: IORLW 80