Subversion Repositories svnkaklik

Compare Revisions

Problem with comparison.

Ignore whitespace Rev HEAD → Rev 52

/programy/PIC_C/test/PIC16F84A/blik/blik.BAK
0,0 → 1,9
#include "blik.h"
 
 
void main()
{
 
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
 
}
/programy/PIC_C/test/PIC16F84A/blik/blik.c
0,0 → 1,17
#include "blik.h"
 
 
void main()
{
 
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
 
while(true)
{
output_high(PIN_B0);
Delay_ms(700);
output_low(PIN_B0);
Delay_ms(50);
}
 
}
/programy/PIC_C/test/PIC16F84A/blik/blik.cof
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programy/PIC_C/test/PIC16F84A/blik/blik.err
0,0 → 1,2
No Errors
0 Errors, 0 Warnings.
/programy/PIC_C/test/PIC16F84A/blik/blik.h
0,0 → 1,9
#include <16F84A.h>
 
#FUSES NOWDT //No Watch Dog Timer
#FUSES XT //Crystal osc <= 4mhz
#FUSES NOPUT //No Power Up Timer
#FUSES NOPROTECT //Code not protected from reading
 
#use delay(clock=4000000)
 
/programy/PIC_C/test/PIC16F84A/blik/blik.hex
0,0 → 1,10
:1000000000308A001928000010308400000803190D
:10001000182801308D008C018C0B0C288D0B0B28BF
:100020004A308C008C0B122800000000800B09283D
:10003000003484011F30830583160108C73908384E
:10004000810006108312061404308F00AF30900038
:1000500004208F0B262883160610831206103230D8
:0A006000900004208316212863009D
:02400E00F93F78
:00000001FF
;PIC16F84A
/programy/PIC_C/test/PIC16F84A/blik/blik.lst
0,0 → 1,98
CCS PCM C Compiler, Version 3.245, 27853 05-XI-06 21:34
 
Filename: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.lst
 
ROM used: 53 words (5%)
Largest free fragment is 971
RAM used: 3 (4%) at main() level
4 (6%) worst case
Stack: 1 locations
 
*
0000: MOVLW 00
0001: MOVWF 0A
0002: GOTO 019
0003: NOP
.................... #include "blik.h"
.................... #include <16F84A.h>
.................... //////// Standard Header file for the PIC16F84A device ////////////////
.................... #device PIC16F84A
.................... #list
....................
....................
.................... #FUSES NOWDT //No Watch Dog Timer
.................... #FUSES XT //Crystal osc <= 4mhz
.................... #FUSES NOPUT //No Power Up Timer
.................... #FUSES NOPROTECT //Code not protected from reading
....................
.................... #use delay(clock=4000000)
0004: MOVLW 10
0005: MOVWF 04
0006: MOVF 00,W
0007: BTFSC 03.2
0008: GOTO 018
0009: MOVLW 01
000A: MOVWF 0D
000B: CLRF 0C
000C: DECFSZ 0C,F
000D: GOTO 00C
000E: DECFSZ 0D,F
000F: GOTO 00B
0010: MOVLW 4A
0011: MOVWF 0C
0012: DECFSZ 0C,F
0013: GOTO 012
0014: NOP
0015: NOP
0016: DECFSZ 00,F
0017: GOTO 009
0018: RETLW 00
....................
....................
....................
....................
.................... void main()
.................... {
0019: CLRF 04
001A: MOVLW 1F
001B: ANDWF 03,F
....................
.................... setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
001C: BSF 03.5
001D: MOVF 01,W
001E: ANDLW C7
001F: IORLW 08
0020: MOVWF 01
....................
.................... while(true)
.................... {
.................... output_high(PIN_B0);
0021: BCF 06.0
0022: BCF 03.5
0023: BSF 06.0
.................... Delay_ms(700);
0024: MOVLW 04
0025: MOVWF 0F
0026: MOVLW AF
0027: MOVWF 10
0028: CALL 004
0029: DECFSZ 0F,F
002A: GOTO 026
.................... output_low(PIN_B0);
002B: BSF 03.5
002C: BCF 06.0
002D: BCF 03.5
002E: BCF 06.0
.................... Delay_ms(50);
002F: MOVLW 32
0030: MOVWF 10
0031: CALL 004
.................... }
0032: BSF 03.5
0033: GOTO 021
....................
.................... }
0034: SLEEP
 
Configuration Fuses:
Word 1: 3FF9 XT NOWDT NOPUT NOPROTECT
/programy/PIC_C/test/PIC16F84A/blik/blik.sta
0,0 → 1,28
 
ROM used: 53 (5%)
53 (5%) including unused fragments
 
0 Average locations per line
8 Average locations per statement
 
RAM used: 3 (4%) at main() level
4 (6%) worst case
 
Lines Stmts % Files
----- ----- --- -----
18 7 100 D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.c
10 0 0 D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.h
113 0 0 C:\Program Files\PICC\devices\16F84A.h
----- -----
282 14 Total
 
Page ROM % RAM Functions:
---- --- --- --- ----------
0 21 40 1 @delay_ms1
0 28 53 1 main
 
Segment Used Free
--------- ---- ----
00000-00003 4 0
00004-003FF 49 971
 
/programy/PIC_C/test/PIC16F84A/blik/blik.sym
0,0 → 1,32
00C @SCRATCH
00D @SCRATCH
00D _RETURN_
00F main.@SCRATCH
010 @delay_ms1.P1
 
0004 @delay_ms1
0019 main
0019 @cinit
 
Project Files:
D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.c
D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.h
C:\Program Files\PICC\devices\16F84A.h
 
Units:
D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.c (main)
 
Compiler Settings:
Processor: PIC16F84A
Pointer Size: 8
Opt Level: 9
Short,Int,Long: 1,8,16
 
Output Files:
Errors: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.err
INHX8: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.hex
Symbols: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.sym
List: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.lst
Debug/COFF: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.cof
Call Tree: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.tre
Statistics: D:\KAKLIK\projekty\programy\PIC_C\test\PIC16F84A\blik\blik.sta
/programy/PIC_C/test/PIC16F84A/blik/blik.tre
0,0 → 1,5
ÀÄblik
ÀÄmain 0/28 Ram=1
ÃÄ??0??
ÃÄ@delay_ms1 0/21 Ram=1
ÀÄ@delay_ms1 0/21 Ram=1
/programy/PIC_C/test/PIC16F84A/blik/prg.bat
0,0 → 1,6
call picpgr stop LPT2
call picpgr erase pic16f84a LPT2
call picpgr program blik.hex hex pic16f84a LPT2
call picpgr run LPT2
pause
call picpgr stop LPT2