o: ActiveSupport::Cache::Entry :@compressedF: @value"Ìl"Æl
Designs/HAM Constructions/SDRX01B/SW/timemark/main.hex
1
:0400000065EF00F0B8
2
:08000800046ED8CF05F0E0CF33
3
:1000100006F00001E9CF0CF0EACF07F0E1CF08F0DD
4
:10002000E2CF09F0D9CF0AF0DACF0BF0F3CF12F01C
5
:10003000F4CF13F0FACF14F0F5CF15F0F6CF16F099
6
:10004000F7CF17F000C00EF001C00FF002C010F0A3
7
:1000500003C011F0F2A830EF00F0F2B257EF00F059
8
:100060000EC000F00FC001F010C002F011C003F08C
9
:100070000CC0E9FF07C0EAFF078E08C0E1FF09C016
10
:10008000E2FF0AC0D9FF0BC0DAFF12C0F3FF13C0B2
11
:10009000F4FF14C0FAFF15C0F5FF16C0F6FF17C035
12
:1000A000F7FF045006C0E0FF05C0D8FF100019A0FC
13
:1000B00009D096948D8496928D7200D000D096943B
14
:1000C0008D941990F29230EF00F0F86AD09E078E6E
15
:1000D000EA6AE96A700ED36ED350B8960C0EAF6E12
16
:1000E000A20EAC6E900EAB6EC150C00B0F09C16E6C
17
:1000F000070EB46EC150C00B0F09C16EC090C09204
18
:10010000C094C09EC2809698C69A949E9380939203
19
:10011000010EC66E000EC76ED190800ED56ECD6AF0
20
:10012000000ECA6E000ECB6E9484BD6AB76AB66AC2
21
:10013000070EB46E9250926E060E006E002EFED721
22
:100140000000B450A19CB56AF288C00EF212710E84
23
:10015000D36E800E9B6ED35019909EAAFED7AE50E0
24
:100160002408FBE19EAAFED7AE50470801E0F5D770
25
:100170009EAAFED7AE50500801E0EFD79EAAFED748
26
:10018000AE50520801E0E9D79EAAFED7AE504D0806
27
:1001900001E0E3D79EAAFED7AE50430801E0DDD7C9
28
:1001A0009EAAFED7AE502C0801E0D7D79EAAFED754
29
:1001B000AE509EAAFED7AE509EAAFED7AE509EAAC3
30
:1001C000FED7AE509EAAFED7AE5096908D709EAAD6
31
:1001D000FED7AECF1AF01A50390801E0BED7198009
32
:0401E000BCD7030085
33
:020000040030CA
34
:0E00000020C9390E0087A1000FC00FE00F408D
35
:00000001FF
36
;PIC18F4550
37
;CRC=262F  CREATED="16-9-12 10:31"
Designs/HAM Constructions/SDRX01B/SW/timemark/main.h
1
#include <18F4550.h>
2
#device adc=8
3

  
4
#FUSES NOWDT                    //No Watch Dog Timer
5
#FUSES WDT128                   //Watch Dog Timer uses 1:128 Postscale
6
#FUSES INTRC                    //Internal RC Osc
7
#FUSES NOPROTECT                //Code not protected from reading
8
#FUSES NOBROWNOUT               //No brownout reset
9
#FUSES BORV20                   //Brownout reset at 2.0V
10
#FUSES NOPUT                    //No Power Up Timer
11
#FUSES NOCPD                    //No EE protection
12
#FUSES STVREN                   //Stack full/underflow will cause reset
13
#FUSES NODEBUG                  //No Debug mode for ICD
14
#FUSES NOLVP                    //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
15
#FUSES NOWRT                    //Program memory not write protected
16
#FUSES NOWRTD                   //Data EEPROM not write protected
17
#FUSES IESO                     //Internal External Switch Over mode enabled
18
#FUSES FCMEN                    //Fail-safe clock monitor enabled
19
#FUSES PBADEN                   //PORTB pins are configured as analog input channels on RESET
20
#FUSES NOWRTC                   //configuration not registers write protected
21
#FUSES NOWRTB                   //Boot block not write protected
22
#FUSES NOEBTR                   //Memory not protected from table reads
23
#FUSES NOEBTRB                  //Boot block not protected from table reads
24
#FUSES NOCPB                    //No Boot Block code protection
25
#FUSES MCLR                     //Master Clear pin enabled
26
#FUSES LPT1OSC                  //Timer1 configured for low-power operation
27
#FUSES NOXINST                  //Extended set extension and Indexed Addressing mode disabled (Legacy mode)
28
#FUSES PLL1                     //No PLL PreScaler
29
#FUSES CPUDIV1                  //No System Clock Postscaler
30
#FUSES USBDIV                   //USB clock source comes from PLL divide by 2
31
#FUSES VREGEN                   //USB voltage regulator enabled
32
#FUSES ICPRT                    //ICPRT enabled
33

  
34
#use delay(clock=8000000)
35
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
36

  
Designs/HAM Constructions/SDRX01B/SW/timemark/readme.txt
1
Program pro PIC18F4550 pro nacitani PPS impulsu z GPS.
Designs/HAM Constructions/SDRX01B/SW/timemark/main.pjt
1
[PROJECT]
2
Target=C:\Users\kakl\Documents\PIC\timemark\main.hex
3
Development_Mode=
4
Processor_Text=PIC18F4550
5
ToolSuite=CCS
6
Processor=0x4550
7
[C:\Users\kakl\Documents\PIC\timemark\main]
8
Type=4
9
Path=
10
FileList=
11
BuildTool=
12
OptionString=
13
AdditionalOptionString=
14
[mru-list]
15
1=C:\Users\kakl\Documents\PIC\timemark\main.c
16
[Windows]
17
0=0000 %S 0 0 796 451 3 0
18
[Units]
19
Link=0
20
Count=1
21
1=C:\Users\kakl\Documents\PIC\timemark\main
22
[Opened Files]
23
1=main.c
24
2=main.h
25
3=
26
4=
Designs/HAM Constructions/SDRX01B/SW/timemark/main.c
1
#include "main.h"
2

  
3
#define LED1         PIN_E0  
4
#define LED2         PIN_E1  
5
#define SYNC_OUTPUT  PIN_E2  
6

  
7
int1 sync;
8
int8 sec;
9

  
10
#int_EXT
11
void  EXT_isr(void) 
12
{
13
   if (sync==1) 
14
   {
15
      output_high(SYNC_OUTPUT);
16
      output_toggle(LED2);
17
      delay_us(2);
18
      output_low(SYNC_OUTPUT);
19
      sync=0;
20
   }
21
}
22

  
23

  
24

  
25

  
26
void main()
27
{
28

  
29
   setup_adc_ports(NO_ANALOGS|VSS_VDD);
30
   setup_adc(ADC_CLOCK_DIV_2);
31
   setup_psp(PSP_DISABLED);
32
   setup_spi(SPI_SS_DISABLED);
33
   setup_wdt(WDT_OFF);
34
   setup_timer_0(RTCC_INTERNAL);
35
   setup_timer_1(T1_DISABLED);
36
   setup_timer_2(T2_DISABLED,0,1);
37
   setup_ccp1(CCP_OFF);
38
   setup_comparator(NC_NC_NC_NC);
39
   setup_vref(FALSE);
40
   enable_interrupts(INT_EXT);
41
   enable_interrupts(GLOBAL);
42
   setup_oscillator(OSC_8MHZ|OSC_TIMER1|OSC_31250|OSC_PLL_OFF);
43

  
44
   sync=0;
45
    //Example blinking LED program
46
    while(true)
47
    {
48
      while (getch()!='$');
49
      if (getch()!='G') continue;
50
      if (getch()!='P') continue;
51
      if (getch()!='R') continue;
52
      if (getch()!='M') continue;
53
      if (getch()!='C') continue;
54
      if (getch()!=',') continue;
55
      getch();
56
      getch();
57
      getch();
58
      getch();
59
      getch();
60
      output_toggle(LED1);
61
      sec=getch();
62
      if ((sec!='9')) continue;
63
      sync=1;
64
    }
65

  
66
}
:@created_atf1419969327.092977óV:@expires_in0