/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/test_interrupt/main.c
2,19 → 2,19
 
#include "main.h"
 
#define LED PIN_A5 //CHANGE PIN_XX TO YOUR LED PIN NUMBER, EX: PIN_A5
#define LED PIN_E0 //CHANGE PIN_XX TO YOUR LED PIN NUMBER, EX: PIN_A5
 
#int_RDA
void RDA_isr(void)
{
getc();
printf("&");
printf("!");
}
 
#int_TIMER1
void TIMER1_isr(void)
{
printf("!");
printf("*");
}
 
void main()
/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/test_interrupt/main.pjt
1,5 → 1,5
[PROJECT]
Target=C:\Users\kakl\Documents\PIC\meteostanice\PIC16F887\test\main.hex
Target=main.hex
Development_Mode=
Processor_Text=PIC16F887
ToolSuite=CCS
12,17 → 12,50
OptionString=
AdditionalOptionString=
[mru-list]
1=C:\Users\kakl\Documents\PIC\meteostanice\PIC16F887\test\main.c
1=main.c
[Windows]
0=0000 %S 0 0 796 451 3 0
[Units]
Link=0
Count=1
1=C:\Users\kakl\Documents\PIC\meteostanice\PIC16F887\test\main
1=main.c
[Opened Files]
1=main.c
2=main.h
2=
3=..\..\..\..\..\..\..\Program Files (x86)\PICC\Devices\16F887.h
4=..\common\dbloader.h
5=..\common\bloader_defs.h
6=
[Directories]
Include=C:\Program Files (x86)\PICC\devices\;C:\Program Files (x86)\PICC\drivers\;
Library=
LinkerScript=
[defines]
enabled=0
D1=
V1=
[fileformats]
forcecoff=0
debug=4
error=2
object=0
list=0
scratch=0
sta=1
tre=1
allerrors=1
allwarnings=1
stayupne=3
stayupoe=0
[Target Data]
BuildTool=C-COMPILER
OptionString=+FM
AdditionalOptionString=
BuildRequired=1
[main.c]
Type=4
Path=
FileList=
BuildTool=
OptionString=
AdditionalOptionString=