Subversion Repositories svnkaklik

Compare Revisions

No changes between revisions

Regard whitespace Rev 409 → Rev 410

/programy/C/PIC_C/motory/menice/Run.BAT
0,0 → 1,8
@echo off
:loop
picpgr reset PIC16F84
picpgr run
pause
picpgr stop
pause
goto loop
/programy/C/PIC_C/motory/menice/main.BAK
0,0 → 1,21
#include "D:\@Kaklik\programy\PIC_C\motory\menice\main.h"
 
#DEFINE L1 pin_A0
#DEFINE L2 pin_A1
 
void main()
{
output_low(L1);
output_low(L2);
while(true)
{
output_high(L1);
output_low(L2);
Delay_ms(16);
output_low(L1);
output_high(L2);
Delay_ms(16);
}
}
/programy/C/PIC_C/motory/menice/main.HEX
0,0 → 1,11
:1000000000308A00192800000F308400000803190E
:10001000182801308D008C018C0B0C288D0B0B28BF
:100020004A308C008C0B122800000000800B09283D
:10003000003484011F3083058316051083120510D8
:100040008316851083128510831685108312851000
:10005000831605108312051411308F0004208316B7
:100060000510831205108316851083128514113034
:080070008F0004202428630026
:02400E00FE3F73
:00000001FF
;PIC16F84
/programy/C/PIC_C/motory/menice/main.LST
0,0 → 1,102
CCS PCW C Compiler, Version 3.110, 15448
 
Filename: d:\@kaklik\programy\pic_c\motory\menice\main.LST
 
ROM used: 60 (6%)
Largest free fragment is 964
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\menice\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 HS,WDT
....................
....................
....................
.................... #DEFINE L1 pin_A0
.................... #DEFINE L2 pin_A1
....................
.................... void main()
.................... {
0019: CLRF 04
001A: MOVLW 1F
001B: ANDWF 03,F
.................... output_low(L1);
001C: BSF 03.5
001D: BCF 05.0
001E: BCF 03.5
001F: BCF 05.0
.................... output_low(L2);
0020: BSF 03.5
0021: BCF 05.1
0022: BCF 03.5
0023: BCF 05.1
....................
.................... while(true)
.................... {
.................... output_low(L2);
0024: BSF 03.5
0025: BCF 05.1
0026: BCF 03.5
0027: BCF 05.1
.................... output_high(L1);
0028: BSF 03.5
0029: BCF 05.0
002A: BCF 03.5
002B: BSF 05.0
.................... Delay_ms(17);
002C: MOVLW 11
002D: MOVWF 0F
002E: CALL 004
.................... output_low(L1);
002F: BSF 03.5
0030: BCF 05.0
0031: BCF 03.5
0032: BCF 05.0
.................... output_high(L2);
0033: BSF 03.5
0034: BCF 05.1
0035: BCF 03.5
0036: BSF 05.1
.................... Delay_ms(17);
0037: MOVLW 11
0038: MOVWF 0F
0039: CALL 004
....................
.................... }
003A: GOTO 024
.................... }
....................
003B: SLEEP
/programy/C/PIC_C/motory/menice/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/C/PIC_C/motory/menice/main.SYM
0,0 → 1,13
00C @SCRATCH
00D @SCRATCH
00D _RETURN_
00F delay_ms.P1
delay_us.P1
 
0004 delay_ms
0019 main
 
Project Files:
d:\@kaklik\programy\pic_c\motory\menice\main.c
D:\@Kaklik\programy\PIC_C\motory\menice\main.h
C:\PROGRAM FILES\PICC\devices\16F84.h
/programy/C/PIC_C/motory/menice/main.c
0,0 → 1,21
#include "D:\@Kaklik\programy\PIC_C\motory\menice\main.h"
 
#DEFINE L1 pin_A0
#DEFINE L2 pin_A1
 
void main()
{
output_low(L1);
output_low(L2);
while(true)
{
output_low(L2);
output_high(L1);
Delay_ms(17);
output_low(L1);
output_high(L2);
Delay_ms(17);
}
}
/programy/C/PIC_C/motory/menice/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/C/PIC_C/motory/menice/main.err
0,0 → 1,0
No Errors
/programy/C/PIC_C/motory/menice/main.h
0,0 → 1,4
#include <16F84.h>
#use delay(clock=4000000)
#fuses HS,WDT
 
/programy/C/PIC_C/motory/menice/main.sta
0,0 → 1,28
 
ROM used: 60 (6%)
964 (94%) 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
----- ----- --- -----
22 10 100 d:\@kaklik\programy\pic_c\motory\menice\main.c
5 0 0 D:\@Kaklik\programy\PIC_C\motory\menice\main.h
111 0 0 C:\PROGRAM FILES\PICC\devices\16F84.h
----- -----
276 20 Total
 
Page ROM % RAM Functions:
---- --- --- --- ----------
0 21 35 1 delay_ms
0 35 58 0 main
 
Segment Used Free
--------- ---- ----
0000-0003 4 0
0004-03FF 56 964
 
/programy/C/PIC_C/motory/menice/main.tre
0,0 → 1,5
ÀÄmain
ÀÄmain 0/35 Ram=0
ÃÄ??0??
ÃÄdelay_ms 0/21 Ram=1
ÀÄdelay_ms 0/21 Ram=1
/programy/C/PIC_C/motory/menice/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/C/PIC_C/motory/menice/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