/Designs/Measuring_instruments/RMDS01C/SW/PIC16F887/main.c
116,7 → 116,7
count=((unsigned int32)of2<<20)+((unsigned int32)countH<<4)+(unsigned int32)countL; // concatenate
 
printf("%010Lu\r\n", count);
// printf("%010Lu\r\n", count);
}
 
#int_TIMER1 // Interrupf from overflow
164,7 → 164,8
while(true)
{
restart_wdt();
delay_ms(1000);
// printf("%X %X %X %X\r\n", buffer[0],buffer[1],buffer[2],buffer[3]);
delay_ms(1500);
// printf("%X %X %X %X\r\n", buffer[0],buffer[1],buffer[2],buffer[3]);
printf("%010Lu\r\n", count);
}
}
/Designs/Measuring_instruments/RMDS01C/SW/PIC16F887/main.hex
1,4 → 1,4
:1000000002308A00B02A0000FF00030E8301A10025
:1000000002308A00A12A0000FF00030E8301A10034
:100010000A08A0008A010408A2007708A300780853
:10002000A4007908A5007A08A600831383120B1E8A
:100030001B288B1838288C308400001C21280C18B1
5,107 → 5,108
:100040003B288C308400801D27288C193E282208EC
:1000500084002308F7002408F8002508F900260882
:10006000FA0020088A00210E8300FF0E7F0E09008F
:100070008A110A1216298A110A12452A8A110A12AD
:100070008A110A12D4288A110A1295298A110A12A1
:100080007A280A108A100A118207B53462340634BD
:10009000313420340034003400340034003432343D
:1000A0000034003400348034963498340034E03422
:1000B000C834103400346434003400340034003464
:1000C000003400340034003400340034003473341D
:1000D000003400340034C634513413083E08930011
:1000D000003400340034C6345134130854089300FB
:1000E00014168C11831614187328F8018312141A2D
:1000F000F80A08008316941A85288312B60183161D
:10010000141D85288312B617831683123608B60A83
:10011000BC003C087F3C031C972814138C1D8E28C0
:1001200013081416BB003C0B97283B08B3003C088F
:10011000D20052087F3C031C972814138C1D8E2894
:1001200013081416D100520B97285108B300520837
:10013000803C031DB528B308031DA6282B08AF007B
:100140002C08B0002D08B1002E08B2003308043C82
:10015000031CB3282F303307840083130008BD002D
:10016000BE006D20B528BE016D203C08813C031DFA
:10017000BC283008BE006D203C08823C031DC3280B
:100180003108BE006D203C08833C031DCA2832089C
:10019000BE006D203C08833C0318D028BE016D20B2
:1001A0008C118A110A122728F701F801F901FA01C6
:1001B000D401D501D601D70153085204510450048B
:1001C000031912292030D8000310CC0DCD0DCE0D0F
:1001D000CF0DD40DD50DD60DD70D53085702031DE5
:1001E000FB2852085602031DFB2851085502031D27
:1001F000FB2850085402031C0C295008D402510853
:10020000031C510FD5025208031C520FD60253088B
:10021000031C530FD7020314F70DF80DF90DFA0D57
:10022000D80BE42854308400831308003508BF003D
:100230003408BE000F08FA000E08F7000F087A0213
:10024000031D1A297708BB007A08BC00BD0183167C
:10025000091083120910831689108312891028143B
:100260002808831687008312BD010718BD0A83166C
:1002700009108312091428142808831687000030F7
:10028000831207180130F7000310F70D7708BD043B
:10029000831609108312091083168910831289149A
:1002A00028142808831687000030831207180130AD
:1002B000F700F70DF70DFC30F7057708BD0483163E
:1002C00009108312091428142808831687000030A7
:1002D000831207180130F700F70DF70DF70DF8300E
:1002E000F7057708BD0483160911831209118316D7
:1002F0000911831209158F018E01B501B401C301E3
:10030000C2013F08C1003E08C0003F08C3003E08CC
:10031000C200C001C101C20DC30DC20DC30DC20D8B
:10032000C30DC20DC30DF030C205C801C7013B0D9E
:10033000F7003C0DF800470DF900480DFA00F70DE5
:10034000F80DF90DFA0DF70DF80DF90DFA0DF70D81
:10035000F80DF90DFA0DF030F7057708C0077808A9
:100360000318780FC10779080318790FC2077A08B4
:1003700003187A0FC307F801F901FA013D08400795
:10038000AB004108AC0078080318780FAC074208AE
:10039000AD0079080318790FAD074308AE007A085D
:1003A00003187A0FAE074A3084002E08C3002D08C8
:1003B000C2002C08C1002B08C0000408C4003B3058
:1003C000CB009A30CA00CA30C900C8010A30C60042
:1003D0004308CF004208CE004108CD004008CC00C1
:1003E0004B08D3004A08D2004908D1004808D00081
:1003F000D4200008C000840A0008C100840A000854
:10040000C200840A0008C300F708031D1A2A460820
:10041000013A03191A2A440803191B2A0F39460204
:100420000319142A0318212AC41B212A441B1B2A3E
:1004300020301C2AC4013030F70777080C1E1E2A12
:1004400099004B08CF004A08CE004908CD00480863
:10045000CC00D301D201D1010A30D000D4207A08D7
:10046000CB007908CA007808C9007708C800C60B15
:10047000E8290D300C1E3A2A99000A300C1E3E2A3B
:1004800099008B108A110A122728B40A0319B50A99
:100490000C108A110A1227280D05633BE1352E172F
:1004A000AE060A0039308400831300080319652A58
:1004B0000630F800F701F70B5B2AF80B5A2A7B305D
:1004C000F700F70B612A800B582A080083160317E0
:1004D0008C170C140000000083120C087F390319DC
:1004E000AC2A0313B80003170D080313B900031750
:1004F0000F080313BA0038080C1E7C2A990039082B
:1005000003178D0003133A0803178F0083168C1707
:100510000C140000000083120C0D0E0D7F3903191E
:10052000AC2A0313B80003170D080313B90003170F
:100530000F080313BA0038080C1E9C2A99003908CA
:1005400003178D0003133A0803178F008D0A031950
:100550008F0A0313662A031703138A110A124D2BFD
:10056000840183131F308305831603178715083012
:100570000313990002309A00A6309800903083123D
:100580009800A815280883168700831228162808C3
:1005900083168700A2309300363083129400B30193
:1005A000B501B401831603170908C0398900031384
:1005B0001F129F12003003178800831287018801E1
:1005C00089010313A701FF30A800A901AA01033084
:1005D000B600831603170908C039890003131F12D8
:1005E0009F12003003178800831203131F10831615
:1005F0000108C739083881000930831203178500C4
:100600000F30F70003138101813084008313000849
:10061000F0390738800064000008F739F719F0391D
:1006200077048000073090000030F800920000301E
:1006300083169200831203178701880189018316AC
:1006400003139701640004308312B800FA30B90034
:100650005222B80B262B6400B7013708273C031C35
:10066000382B370841200C1E332B9900B70A2D2B4D
:10067000831601170C1483120B1683168C15C030C9
:1006800083128B04AF01B001B101B2014C300317EA
:100690008D0002308F000313662A64000430B80016
:0E06A000FA30B9005222B80B502B4D2B6300DC
:10015000031CB3282F303307840083130008D30017
:10016000D4006D20B528D4016D205208813C031DB8
:10017000BC283008D4006D205208823C031DC328DF
:100180003108D4006D205208833C031DCA28320870
:10019000D4006D205208833C0318D028D4016D2070
:1001A0008C118A110A1227283508D5003408D4008A
:1001B0000F08FA000E08F7000F087A02031DD8286E
:1001C0007708D1007A08D200D30183160910831270
:1001D00009108316891083128910281428088316A1
:1001E00087008312D3010718D30A831609108312DC
:1001F0000914281428088316870000308312071872
:100200000130F7000310F70D7708D30483160910A7
:100210008312091083168910831289142814280860
:10022000831687000030831207180130F700F70D9E
:10023000F70DFC30F7057708D304831609108312F5
:100240000914281428088316870000308312071821
:100250000130F700F70DF70DF70DF830F7057708C7
:10026000D30483160911831209118316091183120D
:1002700009158F018E01B501B401D901D8015508C6
:10028000D7005408D6005508D9005408D800D60124
:10029000D701D80DD90DD80DD90DD80DD90DD80D40
:1002A000D90DF030D805DE01DD01510DF700520DFA
:1002B000F8005D0DF9005E0DFA00F70DF80DF90D6F
:1002C000FA0DF70DF80DF90DFA0DF70DF80DF90D02
:1002D000FA0DF030F7057708D60778080318780F7D
:1002E000D70779080318790FD8077A0803187A0F07
:1002F000D907F801F901FA0153085607AB0057086E
:10030000AC0078080318780FAC075808AD007908DE
:100310000318790FAD075908AE007A0803187A0F51
:10032000AE078B108A110A122728B40A0319B50ADE
:100330000C108A110A1227280D05633BE1352E1790
:10034000AE060A0039308400831300080319B5296A
:100350000630F800F701F70BAB29F80BAA297B3020
:10036000F700F70BB129800BA829080083160317A3
:100370008C170C140000000083120C087F3903193D
:10038000FC290313B80003170D080313B900031762
:100390000F080313BA0038080C1ECC29990039083D
:1003A00003178D0003133A0803178F0083168C1769
:1003B0000C140000000083120C0D0E0D7F39031980
:1003C000FC290313B80003170D080313B900031722
:1003D0000F080313BA0038080C1EEC2999003908DD
:1003E00003178D0003133A0803178F008D0A0319B2
:1003F0008F0A0313B629031703138A110A123E2B1F
:10040000F701F801F901FA01CC01CD01CE01CF01CC
:100410004B084A044904480403193E2A2030D000FE
:100420000310C40DC50DC60DC70DCC0DCD0DCE0DE1
:10043000CF0D4B084F02031D272A4A084E02031D09
:10044000272A49084D02031D272A48084C02031C8D
:10045000382A4808CC024908031C490FCD024A0833
:10046000031C4A0FCE024B08031C4B0FCF02031490
:10047000F70DF80DF90DFA0DD00B102A4C30840051
:10048000831308000408BC003B30C3009A30C2004C
:10049000CA30C100C0010A30BE003B08C7003A089C
:1004A000C6003908C5003808C4004308CB0042081C
:1004B000CA004108C9004008C80000220008B8006E
:1004C000840A0008B900840A0008BA00840A0008F7
:1004D000BB00F708031D7F2A3E08013A03197F2A53
:1004E0003C080319802A0F393E020319792A0318A0
:1004F000862ABC1B862A3C1B802A2030812ABC010C
:100500003030F70777080C1E832A99004308C7008C
:100510004208C6004108C5004008C400CB01CA011A
:10052000C9010A30C80000227A08C3007908C20055
:100530007808C1007708C000BE0B4D2A8A110A1244
:10054000512B840183131F308305831603178715EE
:1005500008300313990002309A00A63098009030BA
:1005600083129800A815280883168700831228167E
:10057000280883168700A230930036308312940037
:10058000B301B501B401831603170908C039890006
:1005900003131F129F120030031788008312870174
:1005A000880189010313A701FF30A800A901AA014E
:1005B0000330B600831603170908C03989000313F6
:1005C0001F129F12003003178800831203131F109D
:1005D00083160108C73908388100093083120317D0
:1005E00085000F30F70003138101813084008313ED
:1005F0000008F0390738800064000008F739F7195F
:10060000F03977048000073090000030F800920045
:100610000030831692008312031787018801890135
:10062000831603139701640004308312B800FA3074
:10063000B900A221B80B172B6400B7013708273C7B
:10064000031C292B370841200C1E242B9900B70AC4
:100650001E2B831601170C1483120B1683168C1590
:10066000C03083128B04AF01B001B101B2019C30E4
:1006700003178D0001308F000313B6296400063084
:10068000B800FA30B900A221B80B412B4A308400DF
:100690002E08BB002D08BA002C08B9002B08B800A2
:1006A000422A0D300C1E522B99000A300C1E562B7C
:0606B00099003E2B6300DF
:04400E00EA2CFF3F5A
:00000001FF
;PIC16F887
;CRC=904D CREATED="09-II-14 11:12"
;CRC=F2B1 CREATED="21-II-14 12:29"