/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.c
75,9 → 75,9
setup_wdt(WDT_1152MS|WDT_DIV_16);
setup_spi(SPI_MASTER | SPI_MODE_0 | SPI_CLK_DIV_64);
output_high(CSN_SPI);
enable_interrupts(INT_TIMER1);
enable_interrupts(INT_TIMER0);
enable_interrupts(GLOBAL);
// enable_interrupts(INT_TIMER1);
// enable_interrupts(INT_TIMER0);
// enable_interrupts(GLOBAL);
 
 
delay_ms(100);
/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.hex
113,7 → 113,7
:10071000D300831203170F0883160313D400520863
:1007200083120C1E912B9900831653088312031712
:100730008D00831603135408831203178F008D0A4C
:1007400003198F0A4C2B640003138A110A16AD2873
:1007400003198F0A4C2B640003138A110A16A72879
:1007500083160814881083128810AE2BAF2B8316D3
:10076000881083128814B42BB52B831608108312BB
:100770000810BA2BBB2B8316881083128810033005
123,7 → 123,7
:1007B000F70BD82BE8016808083C031CF12B8316C3
:1007C0008810831288140330F700F70BE52B83168B
:1007D0008810831288100330F700F70BED2BE80A1E
:1007E000DB2BA8231430E800D5218A110A16B02883
:1007E000DB2BA8231430E800D5218A110A16AA2889
:1007F0008030831CFE2B8316BF0683128316C40130
:10080000C5013B08C3003F08C3063A080319EC2C96
:10081000C200F7003E080319F52CC2020319912CFF
229,7 → 229,7
:100E500003179300790892007808910077089000B2
:100E60009701960195019730940003136320A71B07
:100E70008B177A08BF007908BE007808BD00770894
:100E8000BC008A110A16B3280830F202031C542F42
:100E8000BC008A110A16AD280830F202031C542F48
:100E90007230840083130310800C00080319542F50
:100EA000522F0000800B512F0800AF132F0883161C
:100EB0008700831287130230F100F830F2004427D4
270,7 → 270,7
:1010E00096019501833094008A11031363208A15B9
:1010F000A71B8B177A08F0007908EF007808EE003C
:101100007708ED006D08F7006E08F8006F08F90029
:101110007008FA008A110A16BD2880308316A200D2
:101110007008FA008A110A16B72880308316A200D8
:101120000330F700F70B9228A1012108073C031CAC
:10113000B32888108312881083162008220503190B
:10114000A3280814A7280810831208108316A828BB
310,7 → 310,7
:10136000F901FA018312080080080319CB29E90169
:101370000408E8006910831B69140008F5008A114D
:10138000F1278A1568088400831369188317840A73
:101390000319850AB4298A110A16292BF0010408B9
:101390000319850AB4298A110A16232BF0010408BF
:1013A000EF007010831B7014690EF038EB00EB0730
:1013B000E23EEC00323EEE0069080F39EC07EC0724
:1013C000EE07E93EED00ED07ED07680E0F39ED077A
323,7 → 323,7
:101430001B2A20301E2AEF156F123030F707E90102
:101440000408E8006910831B69147708F5008A1105
:10145000F1278A1568088400831369188317840AA2
:101460006F1F0B2A8A110A165A2BF701F801F9018E
:101460006F1F0B2A8A110A16542BF701F801F90194
:10147000FA018316A401A501A601A70123082204ED
:10148000210420040319742A2030A8000310FB0D46
:10149000FC0DFD0DFE0DA40DA50DA60DA70D230839
368,7 → 368,7
:10170000832B6908F7077708F5008A11F1278A15F6
:101710000F30E8050A3068020318902B3030922B06
:10172000E9136908E8076808F5008A11F1278A15A6
:061730008A110A16D82CF4
:061730008A110A16D22CFA
:10200000840183131F308305713083168F000F08FE
:10201000031787110C3003139900A23098009030F9
:1020200083129800C101C001C501C401C301C201EE
389,149 → 389,148
:10211000870083122F162F08831687008312AF11B2
:102120002F088316870022308312940040308316D4
:10213000940083122F112F0883168700831207152E
:1021400083160C1483128B16C0308B046430E800A5
:102150000A12D5210A160A128B2A0A160A12D12B44
:102160000A160A123E2D0A16D3016430E8000A123C
:10217000D5210A160A128A1500280A168A1177082C
:10218000E8007808E9007908EA007A08EB00ED0138
:102190000408EC006D10831B6D1483106B0883160C
:1021A000BD0083126A088316BC0083126908831677
:1021B000BB00831268088316BA003330C100933025
:1021C000C0000830BF008730BE000A128312F82317
:1021D0000A166C08840083136D1883177A08DF00D1
:1021E0007908DE007808DD007708DC00E901E80105
:1021F000DB01DA01D901D8010A12A8230A1603303B
:102200008316A0000A128A1583128D200A168A11DD
:102210007C1078187C147C181D290A12CA270A160B
:102220000A128A15D2200A168A117908FE00780847
:10223000FD007D08F8007E08F9007908E9007808BB
:10224000E8000A12A8230A1605308316A0000A1215
:102250008A1583128D200A168A117C1078187C1436
:102260007C1842290A12CA270A160A128A15D22095
:102270000A168A117908FE007808FD007D08F8002A
:102280007E08F9007908EB007808EA006908FD008B
:102290006808FC006B088316A10083126A08831685
:1022A000A0008312A7018B1BA7178B137D080317B0
:1022B00092007C0891000A12031344200A16A71BFF
:1022C0008B1777088316AA007808AB007908AC0052
:1022D0007A08AD00C1002C08C0002B08BF002A08F6
:1022E000BE000A30C500D730C4002330C3007830A8
:1022F000C2000A128A1583123D210A168A11770834
:102300008316AA007808AB007908AC007A08AD0003
:1023100083142D08BD002C08BC002B08BB002A0824
:10232000BA00C101C0012030BF008430BE000A12D3
:102330008312F8230A167A08D7007908D60078089D
:10234000D5007708D400A7018B1BA7178B13831622
:1023500021088312031792008316031320088312A7
:10236000031791000A12031344200A16A71B8B17A8
:102370007A088316A9007908A8007808A7007708CA
:10238000A6002908C1002808C0002708BF002608A9
:10239000BE005430C500E330C4002530C3007A309D
:1023A000C2000A128A1583123D210A168A11770883
:1023B0008316AA007808AB007908AC007A08AD0053
:1023C0002908C1002808C0002708BF002608BE0051
:1023D0002908C5002808C4002708C3002608C20031
:1023E0000A128A1583123D210A168A11770883166C
:1023F000AE007808AF007908B0007A08B100C100DB
:102400003008C0002F08BF002E08BE00A230C50053
:10241000E730C4003B30C3006C30C2000A128A159A
:1024200083123D210A168A11831483162D08BD00DC
:102430002C08BC002B08BB002A08BA007A08C1008F
:102440007908C0007808BF007708BE000A1283121E
:10245000F8230A1677088316AA007808AB007908D3
:10246000AC007A08AD0083142D08BD002C08BC0018
:102470002B08BB002A08BA00C101C001BF0181308E
:10248000BE000A128312F8230A167A08EF007908B0
:10249000EE007808ED007708EC00831457088316E7
:1024A000BD00831256088316BC008312550883169C
:1024B000BB00831254088316BA00C101C001483022
:1024C000BF008330BE000A128312F8230A16770871
:1024D0008316AA007808AB007908AC007A08AD0032
:1024E000AC30C100C530C0002730BF007130BE0025
:1024F0002908C5002808C4002708C3002608C20010
:102500000A128A1583123D210A168A1183100A3095
:102510008316BD00D730BC002330BB007830BA0032
:102520007A08C1007908C0007808BF007708BE00AB
:102530000A128312F8230A1683162D08C1002C08EC
:10254000C0002B08BF002A08BE007A08C500790821
:10255000C4007808C3007708C2000A128A158312E3
:102560003D210A168A1177088316AA007808AB0065
:102570007908AC007A08AD0083102D08BD002C0846
:10258000BC002B08BB002A08BA0083126F08831610
:10259000C10083126E088316C00083126D08831673
:1025A000BF0083126C088316BE000A128312F82340
:1025B0000A167A08DB007908DA007808D90077086B
:1025C000D800831057088316BD008312560883165F
:1025D000BC00831255088316BB008312540883166F
:1025E000BA003330C1009330C0000830BF008730DC
:1025F000BE000A128312F8230A167A08D700790857
:10260000D6007808D5007708D4002130F700F70B02
:10261000072B24300C1E0A2B99002130F700F70BF2
:102620000F2BC7014A30C6004130F5000A12F127CE
:102630000A165730F5000A12F1270A165330F50032
:102640000A12F1270A162B30840083130A128A1506
:10265000B4290A168A112030F5000A12F1270A1649
:10266000D2014A30520784008313800803194E2B8D
:102670002130F700F70B3A2B4A30520784008313BE
:102680000008E80068080C1E432B99005208D20A83
:102690004A3E840083130008D306312BC7014A3019
:1026A000C600103084004908E9004808E8000A1212
:1026B0008A15CE290A168A112030F5000A12F12750
:1026C0000A16D2014A305207840083138008031986
:1026D0007F2B2130F700F70B6B2B4A305207840019
:1026E00083130008E80068080C1E742B9900520838
:1026F000D20A4A3E840083130008D306622BC70126
:102700004A30C600893084005F08EB005E08EA00AA
:102710005D08E9005C08E8000230EC000A128A1546
:1027200079220A168A112030F5000A12F1270A16BA
:10273000D2014A3052078400831380080319B62B54
:102740002130F700F70BA22B4A3052078400831385
:102750000008E80068080C1EAB2B99005208D20A4A
:102760004A3E840083130008D306992BC7014A30E0
:10277000C600893084005708EB005608EA00550867
:10278000E9005408E8000230EC000A128A157922A8
:102790000A168A112030F5000A12F1270A16D20112
:1027A0004A3052078400831380080319ED2B21302F
:1027B000F700F70BD92B4A30520784008313000827
:1027C000E80068080C1EE22B99005208D20A4A3E23
:1027D000840083130008D306D02BC7014A30C600FB
:1027E000023084005B08EB005A08EA005908E9004F
:1027F0005808E8000130EC000A128A1579220A16FE
:102800008A112030F5000A12F1270A16D2014A3047
:1028100052078400831380080319242C2130F70009
:10282000F70B102C4A305207840083130008E8008D
:1028300068080C1E192C99005208D20A4A3E8400DE
:1028400083130008D306072CC7014A30C60089301D
:1028500084006308EB006208EA006108E900600890
:10286000E8000230EC000A128A1579220A168A1151
:102870002030F5000A12F1270A16D2014A30520719
:1028800084008313800803195B2C2130F700F70BB9
:10289000472C4A305207840083130008E800680878
:1028A0000C1E502C99005208D20A4A3E8400831311
:1028B0000008D3063E2CC7014A30C600043084000D
:1028C0006708EB006608EA006508E9006408E800AC
:1028D0000130EC000A128A1579220A168A1120307A
:1028E000F5000A12F1270A16D2014A305207840075
:1028F000831380080319922C2130F700F70B7E2CEC
:102900004A305207840083130008E80068080C1E50
:10291000872C99005208D20A4A3E8400831300088B
:10292000D306752CC7014A30C60002308400450822
:10293000EB004408EA004308E9004208E8000130DF
:10294000EC000A128A1579220A168A112030F50045
:102950000A12F1270A16D2014A3052078400831363
:1029600080080319C92C2130F700F70BB52C4A3029
:102970005207840083130008E80068080C1EBE2C70
:1029800099005208D20A4A3E840083130008D306F5
:10299000AC2CC7014A30C6002A30F5000A12F127D4
:1029A0000A165308E8003730E9000A128A15742B1A
:1029B0000A168A110D30F5000A12F1270A160A309C
:1029C000F5000A12F1270A16D2014A305207840094
:1029D000831380080319FC2C2130F700F70BEE2C31
:1029E0005208D20A4A3E840083130008E8006808AF
:1029F0000C1EF82C9900E52C2130F700F70BFE2C6B
:0C2A00006400C80A0319C90AB428630066
:102140006430E8000A12D5210A160A128B2A0A16F0
:102150000A12D12B0A160A123E2D0A16D301643038
:10216000E8000A12D5210A160A128A1500280A1652
:102170008A117708E8007808E9007908EA007A0807
:10218000EB00ED010408EC006D10831B6D1483104F
:102190006B088316BD0083126A088316BC00831285
:1021A00069088316BB00831268088316BA003330AF
:1021B000C1009330C0000830BF008730BE000A1253
:1021C0008312F8230A166C08840083136D18831792
:1021D0007A08DF007908DE007808DD007708DC0087
:1021E000E901E801DB01DA01D901D8010A12A823CB
:1021F0000A1603308316A0000A128A1583128D2056
:102200000A168A117C1078187C147C1817290A1277
:10221000CA270A160A128A15D2200A168A117908C4
:10222000FE007808FD007D08F8007E08F9007908B6
:10223000E9007808E8000A12A8230A160530831678
:10224000A0000A128A1583128D200A168A117C10AA
:1022500078187C147C183C290A12CA270A160A121C
:102260008A15D2200A168A117908FE007808FD0026
:102270007D08F8007E08F9007908EB007808EA008C
:102280006908FD006808FC006B088316A100831232
:102290006A088316A0008312A7018B1BA7178B1354
:1022A0007D08031792007C0891000A120313442052
:1022B0000A16A71B8B1777088316AA007808AB00AD
:1022C0007908AC007A08AD00C1002C08C0002B08CA
:1022D000BF002A08BE000A30C500D730C400233032
:1022E000C3007830C2000A128A1583123D210A16F3
:1022F0008A1177088316AA007808AB007908AC0029
:102300007A08AD0083142D08BD002C08BC002B08F2
:10231000BB002A08BA00C101C0012030BF008430D0
:10232000BE000A128312F8230A167A08D700790829
:10233000D6007808D5007708D400A7018B1BA71713
:102340008B1383162108831203179200831603133D
:1023500020088312031791000A12031344200A165F
:10236000A71B8B177A088316A9007908A80078089C
:10237000A7007708A6002908C1002808C000270880
:10238000BF002608BE005430C500E330C40025302D
:10239000C3007A30C2000A128A1583123D210A1640
:1023A0008A1177088316AA007808AB007908AC0078
:1023B0007A08AD002908C1002808C0002708BF001E
:1023C0002608BE002908C5002808C4002708C30045
:1023D0002608C2000A128A1583123D210A168A11A4
:1023E00077088316AE007808AF007908B0007A0845
:1023F000B100C1003008C0002F08BF002E08BE0089
:10240000A230C500E730C4003B30C3006C30C200CE
:102410000A128A1583123D210A168A118314831623
:102420002D08BD002C08BC002B08BB002A08BA00F0
:102430007A08C1007908C0007808BF007708BE009C
:102440000A128312F8230A1677088316AA0078085E
:10245000AB007908AC007A08AD0083142D08BD00EC
:102460002C08BC002B08BB002A08BA00C101C0011F
:10247000BF018130BE000A128312F8230A167A08BF
:10248000EF007908EE007808ED007708EC0083147F
:1024900057088316BD00831256088316BC008312AA
:1024A00055088316BB00831254088316BA00C10175
:1024B000C0014830BF008330BE000A128312F823E7
:1024C0000A1677088316AA007808AB007908AC00D2
:1024D0007A08AD00AC30C100C530C0002730BF0065
:1024E0007130BE002908C5002808C4002708C300B1
:1024F0002608C2000A128A1583123D210A168A1183
:1025000083100A308316BD00D730BC002330BB00D7
:102510007830BA007A08C1007908C0007808BF0096
:102520007708BE000A128312F8230A1683162D08B4
:10253000C1002C08C0002B08BF002A08BE007A0882
:10254000C5007908C4007808C3007708C2000A12E1
:102550008A1583123D210A168A1177088316AA006C
:102560007808AB007908AC007A08AD0083102D081C
:10257000BD002C08BC002B08BB002A08BA0083123F
:102580006F088316C10083126E088316C000831281
:102590006D088316BF0083126C088316BE000A12F2
:1025A0008312F8230A167A08DB007908DA00780823
:1025B000D9007708D800831057088316BD0083120E
:1025C00056088316BC00831255088316BB0083127D
:1025D00054088316BA003330C1009330C00008306D
:1025E000BF008730BE000A128312F8230A167A0849
:1025F000D7007908D6007808D5007708D4002130B4
:10260000F700F70B012B24300C1E042B990021300E
:10261000F700F70B092BC7014A30C6004130F5001F
:102620000A12F1270A165730F5000A12F1270A1686
:102630005330F5000A12F1270A162B308400831359
:102640000A128A15B4290A168A112030F5000A12D6
:10265000F1270A16D2014A305207840083138008FA
:102660000319482B2130F700F70B342B4A3052075F
:10267000840083130008E80068080C1E3D2B9900B5
:102680005208D20A4A3E840083130008D3062B2B3B
:10269000C7014A30C600103084004908E9004808E4
:1026A000E8000A128A15CE290A168A112030F50090
:1026B0000A12F1270A16D2014A3052078400831306
:1026C00080080319792B2130F700F70B652B4A306E
:1026D0005207840083130008E80068080C1E6E2B64
:1026E00099005208D20A4A3E840083130008D30698
:1026F0005C2BC7014A30C600893084005F08EB00BC
:102700005E08EA005D08E9005C08E8000230EC00C1
:102710000A128A1579220A168A112030F5000A1247
:10272000F1270A16D2014A30520784008313800829
:102730000319B02B2130F700F70B9C2B4A305207BE
:10274000840083130008E80068080C1EA52B99007C
:102750005208D20A4A3E840083130008D306932B02
:10276000C7014A30C600893084005708EB0056087C
:10277000EA005508E9005408E8000230EC000A12AB
:102780008A1579220A168A112030F5000A12F127DB
:102790000A16D2014A3052078400831380080319B5
:1027A000E72B2130F700F70BD32B4A305207840078
:1027B00083130008E80068080C1EDC2B99005208FF
:1027C000D20A4A3E840083130008D306CA2BC701ED
:1027D0004A30C600023084005B08EB005A08EA0069
:1027E0005908E9005808E8000130EC000A128A157F
:1027F00079220A168A112030F5000A12F1270A16EA
:10280000D2014A30520784008313800803191E2C1A
:102810002130F700F70B0A2C4A305207840083134B
:102820000008E80068080C1E132C99005208D20A10
:102830004A3E840083130008D306012CC7014A30A6
:10284000C600893084006308EB006208EA00610872
:10285000E9006008E8000230EC000A128A157922CB
:102860000A168A112030F5000A12F1270A16D20141
:102870004A3052078400831380080319552C2130F5
:10288000F700F70B412C4A305207840083130008ED
:10289000E80068080C1E4A2C99005208D20A4A3EE9
:1028A000840083130008D306382CC7014A30C600C1
:1028B000043084006708EB006608EA006508E90058
:1028C0006408E8000130EC000A128A1579220A1621
:1028D0008A112030F5000A12F1270A16D2014A3077
:1028E000520784008313800803198C2C2130F700D1
:1028F000F70B782C4A305207840083130008E80055
:1029000068080C1E812C99005208D20A4A3E8400A5
:1029100083130008D3066F2CC7014A30C60002306B
:1029200084004508EB004408EA004308E900420837
:10293000E8000130EC000A128A1579220A168A1181
:102940002030F5000A12F1270A16D2014A30520748
:102950008400831380080319C32C2130F700F70B80
:10296000AF2C4A305207840083130008E80068083F
:102970000C1EB82C99005208D20A4A3E84008313D8
:102980000008D306A62CC7014A30C6002A30F5003D
:102990000A12F1270A165308E8003730E9000A1234
:1029A0008A15742B0A168A110D30F5000A12F127C8
:1029B0000A160A30F5000A12F1270A16D2014A3027
:1029C00052078400831380080319F62C2130F70086
:1029D000F70BE82C5208D20A4A3E84008313000801
:1029E000E80068080C1EF22C9900DF2C2130F7005B
:1029F000F70BF82C6400C80A0319C90AAE28630053
:0639E0008A010028080026
:04400E00FD2CFF3F47
:00000001FF
;PIC16F887
;CRC=5B87 CREATED="10-III-13 15:29"
;CRC=DE7B CREATED="10-III-13 15:37"