Subversion Repositories svnkaklik

Compare Revisions

No changes between revisions

Ignore whitespace Rev 5 → Rev 6

/programy/PIC_C/motory/hodinovy/Run.BAT
0,0 → 1,8
@echo off
:loop
picpgr reset PIC16F84
picpgr run
pause
picpgr stop
pause
goto loop
/programy/PIC_C/motory/hodinovy/main.BAK
0,0 → 1,22
#include "D:\@Kaklik\programy\PIC_C\motory\main.h"
 
 
void main()
{
while (true)
{
 
Delay_ms(15);
output_high(pin_A0);
output_low(pin_A1);
// output_high(pin_A2);
// Delay_ms(10);
// output_low(pin_A2);
Delay_ms(15);
output_low(pin_A0);
output_high(pin_A1);
}
}
/programy/PIC_C/motory/hodinovy/main.HEX
0,0 → 1,10
:1000000000308A00192800000F308400000803190E
:10001000182801308D008C018C0B0C288D0B0B28BF
:100020004A308C008C0B122800000000800B09283D
:10003000003484011F30830519308F00042083169B
:10004000051083120514831685108312851019304C
:100050008F00042083160510831205108316851067
:08006000831285141C286300C3
:02400E00FD3F74
:00000001FF
;PIC16F84
/programy/PIC_C/motory/hodinovy/main.LST
0,0 → 1,95
CCS PCW C Compiler, Version 3.110, 15448
 
Filename: d:\@kaklik\programy\pic_c\motory\main.LST
 
ROM used: 52 (5%)
Largest free fragment is 972
RAM used: 2 (3%) at main() level
3 (4%) worst case
Stack: 1 locations
 
*
0000: MOVLW 00
0001: MOVWF 0A
0002: GOTO 019
0003: NOP
.................... #include "D:\@Kaklik\programy\PIC_C\motory\main.h"
.................... #include <16F84.h>
.................... //////// Standard Header file for the PIC16F84 device ////////////////
.................... #device PIC16F84
.................... #list
....................
.................... #use delay(clock=4000000)
0004: MOVLW 0F
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
.................... #fuses XT,WDT
....................
....................
....................
....................
.................... void main()
.................... {
0019: CLRF 04
001A: MOVLW 1F
001B: ANDWF 03,F
.................... while (true)
.................... {
....................
.................... Delay_ms(25);
001C: MOVLW 19
001D: MOVWF 0F
001E: CALL 004
....................
.................... output_high(pin_A0);
001F: BSF 03.5
0020: BCF 05.0
0021: BCF 03.5
0022: BSF 05.0
.................... output_low(pin_A1);
0023: BSF 03.5
0024: BCF 05.1
0025: BCF 03.5
0026: BCF 05.1
....................
.................... // output_high(pin_A2);
.................... // Delay_ms(10);
.................... // output_low(pin_A2);
.................... Delay_ms(25);
0027: MOVLW 19
0028: MOVWF 0F
0029: CALL 004
....................
.................... output_low(pin_A0);
002A: BSF 03.5
002B: BCF 05.0
002C: BCF 03.5
002D: BCF 05.0
.................... output_high(pin_A1);
002E: BSF 03.5
002F: BCF 05.1
0030: BCF 03.5
0031: BSF 05.1
.................... }
0032: GOTO 01C
.................... }
....................
0033: SLEEP
/programy/PIC_C/motory/hodinovy/main.PJT
0,0 → 1,32
[PROJECT]
Target=main.HEX
Development_Mode=
Processor=0x684A
ToolSuite=CCS
 
[Directories]
Include=C:\PROGRAM FILES\PICC\devices\;C:\PROGRAM FILES\PICC\dr
Library=
LinkerScript=
 
[Target Data]
FileList=main.c;
BuildTool=C-COMPILER
OptionString=+FM
AdditionalOptionString=
BuildRequired=1
 
[main.c]
Type=4
Path=
FileList=
BuildTool=
OptionString=
AdditionalOptionString=
 
[mru-list]
1=main.c
 
[Windows]
0=0000 main.c 0 0 796 451 3 0
 
/programy/PIC_C/motory/hodinovy/main.SYM
0,0 → 1,14
00C @SCRATCH
00D @SCRATCH
00D _RETURN_
00F delay_ms.P1
delay_us.P1
 
0004 delay_ms
0019 main
0040 @cinit
 
Project Files:
d:\@kaklik\programy\pic_c\motory\main.c
D:\@Kaklik\programy\PIC_C\motory\main.h
C:\PROGRAM FILES\PICC\devices\16F84.h
/programy/PIC_C/motory/hodinovy/main.c
0,0 → 1,22
#include "D:\@Kaklik\programy\PIC_C\motory\main.h"
 
 
void main()
{
while (true)
{
 
Delay_ms(25);
output_high(pin_A0);
output_low(pin_A1);
// output_high(pin_A2);
// Delay_ms(10);
// output_low(pin_A2);
Delay_ms(25);
output_low(pin_A0);
output_high(pin_A1);
}
}
/programy/PIC_C/motory/hodinovy/main.cod
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/motory/hodinovy/main.err
0,0 → 1,0
No Errors
/programy/PIC_C/motory/hodinovy/main.h
0,0 → 1,4
#include <16F84.h>
#use delay(clock=4000000)
#fuses XT,WDT
 
/programy/PIC_C/motory/hodinovy/main.sta
0,0 → 1,28
 
ROM used: 52 (5%)
972 (95%) including unused fragments
 
0 Average locations per line
6 Average locations per statement
 
RAM used: 2 (3%) at main() level
3 (4%) worst case
 
Lines Stmts % Files
----- ----- --- -----
23 8 100 d:\@kaklik\programy\pic_c\motory\main.c
5 0 0 D:\@Kaklik\programy\PIC_C\motory\main.h
111 0 0 C:\PROGRAM FILES\PICC\devices\16F84.h
----- -----
278 16 Total
 
Page ROM % RAM Functions:
---- --- --- --- ----------
0 21 40 1 delay_ms
0 27 52 0 main
 
Segment Used Free
--------- ---- ----
0000-0003 4 0
0004-03FF 48 972
 
/programy/PIC_C/motory/hodinovy/main.tre
0,0 → 1,5
ÀÄmain
ÀÄmain 0/27 Ram=0
ÃÄ??0??
ÃÄdelay_ms 0/21 Ram=1
ÀÄdelay_ms 0/21 Ram=1
/programy/PIC_C/motory/hodinovy/prg.bat
0,0 → 1,6
call picpgr stop
call picpgr erase pic16f84
call picpgr program main.hex hex pic16f84
call picpgr run
pause
call picpgr stop
/programy/PIC_C/motory/hodinovy/vssver.scc
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