Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 371 → Rev 372

/roboti/Robotour/SW/wdt/wdt.c
0,0 → 1,17
#include "C:\dokumenty\svn\Kaklik\roboti\Robotour\SW\wdt\wdt.h"
 
 
void main()
{
 
setup_adc_ports(NO_ANALOGS|VSS_VDD);
setup_adc(ADC_OFF);
setup_spi(FALSE);
setup_timer_0(RTCC_INTERNAL);setup_wdt(WDT_144MS);
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
setup_comparator(NC_NC_NC_NC);
setup_vref(VREF_LOW|-2);
setup_oscillator(False);
 
}
/roboti/Robotour/SW/wdt/wdt.h
0,0 → 1,18
#include <16F88.h>
#device adc=8
 
#FUSES WDT //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 NOFCMEN //Fail-safe clock monitor disabled
#FUSES NOIESO //Internal External Switch Over mode disabled
 
#use delay(clock=8000000,RESTART_WDT)
 
/roboti/Robotour/SW/wdt/wdt.hex
0,0 → 1,13
:1000000000308A000428000084011F30830570300E
:1000100083168F001F129F121B0880399B00073028
:100020009C001F129F121B0880399B0083121F1017
:10003000941283160611861406120030831294005F
:10004000831694000108C03981000B30F700073097
:1000500083128101813084000008F0390738800064
:1000600064000008F739F719F0397704800090012F
:100070000030F800920000308316920007309C0098
:10008000050864000630F700F70B44281C088312AB
:100090000D13FE3083169D0005158F010F086300B8
:04400E003D3FFC3FF7
:00000001FF
;PIC16F88