Subversion Repositories svnkaklik

Compare Revisions

Regard whitespace Rev 659 → Rev 660

/programy/C/PIC/mereni/serva/PIC16F88/main.c
0,0 → 1,21
#include "main.h"
 
#Define TRIM1 0
 
#Define SERVO1 PIN_B4
 
void main()
{
 
setup_adc_ports(sAN0|sAN1|VSS_VDD);
setup_adc(ADC_CLOCK_INTERNAL);
setup_spi(SPI_SS_DISABLED);
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
setup_comparator(NC_NC_NC_NC);
setup_vref(FALSE);
 
 
 
}
/programy/C/PIC/mereni/serva/PIC16F88/main.h
0,0 → 1,18
#include <16F88.h>
#device adc=10
 
#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC //Internal RC Osc
#FUSES NOPUT //No Power Up Timer
#FUSES MCLR //Master Clear pin enabled
#FUSES NOBROWNOUT //No brownout reset
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES NOCPD //No EE protection
#FUSES NOWRT //Program memory not write protected
#FUSES NODEBUG //No Debug mode for ICD
#FUSES NOPROTECT //Code not protected from reading
#FUSES FCMEN //Fail-safe clock monitor enabled
#FUSES IESO //Internal External Switch Over mode enabled
 
#use delay(clock=4000000)
 
/programy/C/PIC/mereni/serva/PIC16F88/main.hex
0,0 → 1,14
:020000040000FA
:1000000000308A0004280000840183131F30830518
:10001000623083168F000F081F129F121B08803951
:100020009B0007309C001F129F121B088039033869
:100030009B001F1383121F179F1783169F1783128E
:100040001F149412831606118614061201308312AF
:1000500094000030831694000108C73908388100E5
:10006000831290010030F800920000308316920055
:1000700007309C00050885000330F700F70B3E2889
:0C0080001C0883120D1383169D01630001
:04400E00393FFF3FF8
:00000001FF
;PIC16F88
;CRC=6662 CREATED="23-I-10 18:42"
/programy/C/PIC/mereni/serva/PIC16F88/main.pjt
0,0 → 1,26
[PROJECT]
Target=D:\svnKaklik\programy\C\PIC_C\mereni\serva\PIC16F88\main.hex
Development_Mode=
Processor_Text=PIC16F88
ToolSuite=CCS
Processor=0x688F
[D:\svnKaklik\programy\C\PIC_C\mereni\serva\PIC16F88\main]
Type=4
Path=
FileList=
BuildTool=
OptionString=
AdditionalOptionString=
[mru-list]
1=D:\svnKaklik\programy\C\PIC_C\mereni\serva\PIC16F88\main.c
[Windows]
0=0000 %S 0 0 796 451 3 0
[Opened Files]
1=main.c
2=
[Target Data]
OptionString=-p +FM
FileList=D:\svnKaklik\programy\C\PIC_C\mereni\serva\PIC16F88\main.c
[Units]
Count=1
1=main.c (main)