/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.c
6,7 → 6,7
 
#CASE // Case sensitive compiler
 
#define LCD_ENABLE_PIN PIN_E0 ////
/*#define LCD_ENABLE_PIN PIN_E0 ////
#define LCD_RS_PIN PIN_E1 ////
#define LCD_RW_PIN PIN_E2 ////
#define LCD_DATA4 PIN_D4 ////
14,7 → 14,7
#define LCD_DATA6 PIN_D6 ////
#define LCD_DATA7 PIN_D7
#include <lcd.c>
 
*/
#define SEND_DELAY 50 // Time between two characters on RS232
 
char VER[4]=VERSION; // Buffer for concatenate of a version string
22,6 → 22,9
#define ONE_WIRE_PIN PIN_C7
#include "..\ds1820.c"
 
#include "..\SHT.c"
 
 
void welcome(void) // Welcome message
{
char REV[50]=ID; // Buffer for concatenate of a version string
68,18 → 71,26
lcd_putc("www.mlab.cz");
Delay_ms(2000);
*/
 
sht_init();
 
while (TRUE)
{
lcd_gotoxy(1,2);
char output[8]; // Output buffer
int8 j; // String pointer
int8 check=0; // Checksum is calculated between '$' and '*'
float SHT_temp,SHT_hum;
 
 
// lcd_gotoxy(1,2);
// printf(lcd_putc,"T: %f K ",ds1820_read()+273.15);
 
// printf("$T1.0 %f \r\n",ds1820_read()+273.15);
delay_ms(100);
{ // printf
char output[8]; // Output buffer
int8 j; // String pointer
int8 check=0; // Checksum is calculated between '$' and '*'
 
sht_rd(SHT_temp,SHT_hum);
 
delay_us(SEND_DELAY);
putc('$');
delay_us(SEND_DELAY);
89,6 → 100,10
j=0; while(output[j]!=0) { delay_us(SEND_DELAY); putc(output[j]); check^=output[j++]; }
sprintf(output,"%f \0", ds1820_read()+273.15);
j=0; while(output[j]!=0) { delay_us(SEND_DELAY); putc(output[j]); check^=output[j++]; }
sprintf(output,"%f \0", SHT_temp + 273.15);
j=0; while(output[j]!=0) { delay_us(SEND_DELAY); putc(output[j]); check^=output[j++]; }
sprintf(output,"%f \0", SHT_hum);
j=0; while(output[j]!=0) { delay_us(SEND_DELAY); putc(output[j]); check^=output[j++]; }
sprintf(output,"*%X\r\n\0", check);
j=0; while(output[j]!=0) { delay_us(SEND_DELAY); putc(output[j++]); }
delay_us(SEND_DELAY);
/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.hex
1,4 → 1,4
:1000000008308A00002800000D050D0523104D3929
:1000000008308A00F52800000D050D0523104D3934
:10001000E135EF366539A0127310A8212910321886
:10002000B118A02A532A0D050000D3346D38EC32E4
:10003000202AE832F236EF36653AE832F2060A0054
5,309 → 5,398
:10004000A8312910CB306B36E9352019B018B3062A
:100050000A00F73B77176D366131AE31FA060A00B8
:1000600083168613831286130830F80037280000A1
:10007000F8174828F813EB0C03188617031C86138F
:10007000F8174828F813F30C03188617031C861387
:10008000781748287813F80B3B2846280000861775
:100090003F308400840B4A280000F81B3A28781B64
:1000A00042280800831603178C170C140000000068
:1000B00083120C087F39031996280313B500031720
:1000C0000D080313B60003170F080313B700350814
:1000D000EB003020360803178D0003133708031791
:1000B00083120C087F39031996280313BD00031718
:1000C0000D080313BE0003170F080313BF003D08FC
:1000D000F30030203E0803178D0003133F08031779
:1000E0008F0083168C170C140000000083120C0D77
:1000F0000E0D7F39031996280313B50003170D0859
:100100000313B60003170F080313B7003508EB00FD
:100110003020360803178D000313370803178F00AC
:1000F0000E0D7F39031996280313BD0003170D0851
:100100000313BE0003170F080313BF003D08F300DD
:1001100030203E0803178D0003133F0803178F009C
:100120008D0A03198F0A03135228031703130800BB
:100130006808EA006708E9006A08FA0069088400AC
:1001400083137A18831780080319AA28E90A031968
:10015000EA0A9C2867086902F7006A08FA0068083A
:10016000031C680FFA027708F800080083160317CB
:100170008C170C14000000000318E52883120C08EB
:100180007F390313E80003170D080313E900031771
:100190000F080313EA006808EB0030206908031712
:1001A0008D0003136A0803178F0083168C170C1435
:1001B0000000000083120313E70BDF28E2288316F8
:1001C0000317E52804298316031783120C0D0E0D5F
:1001D0007F390313E80003170D080313E900031721
:1001E0000F080313EA006808EB00302069080317C2
:1001F0008D0003136A0803178F008D0A03198F0AF5
:1002000003100313E70BB6280800800803191A2906
:10021000E8010408E7006810831B68140008EB007D
:10022000302067088400831368188317840A031931
:10023000850A052908002430B5004930B60064302D
:10024000B7003A30B8002030B9006930BA007230D7
:10025000BB006D30BC007230BD006130BE006B3041
:10026000BF003430C0002E30C1006330C2002030E7
:10027000C3003230C4003130C5003730C600C7007B
:100280002030C8003230C9003030CA003130CB00D5
:10029000CC002D30CD003030CE003930CF002D30A5
:1002A000D0003030D1003530D2002030D300313092
:1002B000D4003830D5003A30D6003530D70036304B
:1002C000D8003A30D9003130DA003630DB005A300D
:1002D000DC002030DD006B30DE006130DF006B3091
:1002E000E0006C30E1006930E2006B30E300203068
:1002F000E4002430E500E601E8013530E70098200D
:1003000001307802353E840083130008243C031D2D
:100310009329E8013530E700982001307802353E16
:10032000840083138001043003178D0000308F0098
:1003300003100F300313E700B6202230840083132C
:1003400005210C3003178D0000308F0003140F308F
:100350000313E700B6202330EB003020393084004F
:10036000831305210D30EB0030200A30EB003020E4
:1003700064008A150A129228BD01831608160030FF
:100380008312081A0130BD048316881600308312C8
:10039000881A0130F7000310F70D7708BD048316A3
:1003A000081700308312081B0130F700F70DF70D16
:1003B000FC30F7057708BD048316881700308312D8
:1003C000881B0130F700F70DF70DF70DF830F70532
:1003D0007708BD043D08F80008003C18F129081210
:1003E000F2290816831608128312BC18F9298812FC
:1003F000FA2988168316881283123C19012A0813D9
:10040000022A0817831608138312BC19092A8813B5
:100410000A2A88178316881300008312091483168A
:100420000910122A132A8312091083160910831245
:100430000800360B1C2A1F2A4030B700202AB701BB
:1004400001303502B70737088038B800B9013808DD
:10045000BA008316091089100911831289108316B6
:10046000891008168816081788178312091583162D
:100470000911000083120914831609100000831269
:10048000BC217808BC0009108316091000008312F3
:100490000914831609104C2A8312BC217808BB006A
:1004A0000910831609100812881208138813831282
:1004B0003C0EF700F030F70577083B04F8007808A9
:1004C000BB00BB1F652A8316312AB908031D6A2A9F
:1004D00089106B2A89148316891000008312091170
:1004E0008316091100008312091083160910831264
:1004F0003A0EBB000F30BB053B08BC00ED213A08AB
:100500000F39BB00BC00ED218A150A12992835303D
:1005100084008313000803199A2A0230F800F701B7
:10052000F70B902AF80B8F2A9730F700F70B962AD3
:10053000800B8D2A8A150A129E28270884008313AF
:100540002818831748088000840A8001A70A031925
:10055000A80A080080080319BF2AB6010408B500DC
:100560003610831B36140008C8009D22350884000D
:10057000831336188317840A0319850AAA2A8A1551
:100580000A12C428BD010408BC003D10831B3D14A1
:10059000360EF038B800B807E23EB900323EBB0074
:1005A00036080F39B907B907BB07E93EBA00BA07E1
:1005B000BA07350E0F39BA07BB07BA0DBB0DBB0919
:1005C000BB0D35080F39BB07B80D0730B7000A302F
:1005D000BB07BA03031CE82ABA07B903031CEC2AB9
:1005E000B907B803031CF02AB807B703031CF42AA1
:1005F00037308400831307303C053C1384073B30BD
:10060000040203193C170008F700031D0F2B3C1BC5
:100610000F2B3C1A212BBC190F2B2030122BBC1591
:100620003C123030F707B6010408B5003610831BC2
:1006300036147708C8009D223508840083133618C5
:100640008317840A3C1FFF2A8A150A12F4280830EF
:10065000BF02031C372B3F30840083130310800C30
:1006600000080319372B352B0000800B342B0800B2
:10067000A613260883168700831287130230BE0054
:10068000F830BF002723BE0B402BA6172608831681
:10069000870002308312BE00F830BF002723BE0B54
:1006A0004C2BA61726088316870083120800BF016B
:1006B0003F08073C031C7E2BA613260883168700E1
:1006C00083128713632B642B0314BE0C03186A2B4D
:1006D00087136B2B8717A6132608831687002730EE
:1006E000F700F70B712B742B8312A61726088316BD
:1006F00087007A2B7B2B8312BF0A582B0800BE0180
:100700003E08073C031CA72BA61326088316870068
:10071000831287138B2B8C2BA61726088316870032
:100720000530F700F70B922B8312A61726088316C5
:1007300087008312871B9E2B03109F2B0314BF0C73
:100740004F30F700F70BA22BA52BBE0A802B3F08DA
:10075000F8000800B5013823CC30BE0057234430E0
:10076000BE005723B508031DB92B7F237808B500B9
:10077000B22B3823CC30BE005723BE30BE005723E7
:100780007F237808B6007F237808B7003708B900C0
:100790003608B8003908BF003808BE008E30F700B0
:1007A0003F08F8003E08F900FA01BF1FDC2BF809EA
:1007B000F909F90A0319F80AF808031DE92B790861
:1007C000F800F9010830F702F808031DE92BF701DA
:1007D000F22B0310F81BF02BF90DF80DF703E92BA2
:1007E000BF1FF8137708BE007808BF007908C00063
:1007F0007A08C1004108C5004008C4003F08C30092
:100800003E08C200C901C801C7018330C6004208C2
:100810000319CC2CCE0046080319CC2CCE02031CA5
:10082000162C7F30CE070318CC2C1C2C8130CE0226
:10083000031CCC2C0319CC2C4E08F700F801F9014D
:10084000FA01CD014308CC00CC174408CB00450881
:10085000CA001930CE004908CA0203183F2C0130E3
:10086000CB0203183F2CCC0203183F2CCD020318F7
:100870003F2CCD0ACC0ACB0A4908CA07712C48087C
:10088000CB0203185A2C0130CC0203185A2CCD028B
:1008900003185A2CCD0ACC0A4808CB074908CA07C6
:1008A000031C712CCB0A031D712CCC0A031D712C67
:1008B000CD0A712C47088038CC020318702C013007
:1008C000CD020318702CCD0A47088038CC074808A1
:1008D000CB07031C4E2CCC0A031D4E2CCD0A4E2CEC
:1008E0007A14CE0B742C7F2C0310CA0DCB0DCC0DBB
:1008F000CD0D0310FA0DF90DF80DCF0D2B2C4F1C5B
:10090000872C0310F80CF90CFA0CCF0C8A2CF70387
:100910000319CC2CCF1BB32C0310CA0DCB0DCC0D5F
:10092000CD0D4908CA0203189F2C0130CB020318D1
:100930009F2CCC0203189F2CCD02031CC22C48080C
:10094000CB020318AA2C0130CC020318AA2CCD022A
:10095000031CC22C47088038CC020318B32C01308A
:10096000CD02031CC22CFA0A031DC22CF90A031D76
:10097000C22CF80A031DC22CF70A0319CC2CF80C60
:10098000F90CFA0C4308CE004708CE06CE1FCA2C3D
:10099000F817D02CF813D02CF701F801F901FA015F
:1009A0007A08BD007908BC007808BB007708BA0057
:1009B0003A08F7003B08F8003C08F9003D08FA0047
:1009C0008A150A121B2980308318C006C501C6018A
:1009D0003C08C4004008C4063B080319D32DC300DB
:1009E000F7003F080319DC2DC3020319782D031CFF
:1009F000362D4008C900C9174108C8004208C70081
:100A0000C6010310C90CC80CC70CC60CC30B002DC3
:100A1000C41F0D2D4514F02D4510431045163E30D2
:100A200084008313052E4512C41B202D431C2B2D3F
:100A3000C90CC80CC70CC60CF70A0319EB2D2B2DDB
:100A4000C91B2E2D0310C60DC70DC80DC90DF70308
:100A50000319EB2D202D4517982D45133C08C40094
:100A6000C41F342DC917E42DC913E42D3F08C3005A
:100A7000F7003B08C3023C08C900C9173D08C8007D
:100A80003E08C700C6010310C90CC80CC70CC60C31
:100A9000C30B422DC41F4F2DC514F02DC51043109C
:100AA000C516423084008313052EC512C41B622D67
:100AB000431C6D2DC90CC80CC70CC60CF70A0319D2
:100AC000EB2D6D2DC91B702D0310C60DC70DC80D64
:100AD000C90DF7030319EB2D622DC517982DC5130A
:100AE0004008C400C41F762DC917E42DC913E42D96
:100AF0004008C900C9174108C8004208C700C41F00
:100B0000852DC9134515F02D4511C60143103E3002
:100B100084008313052EC41BAE2D3C08C400431C67
:100B2000982DC90CC80CC70CC60CF70A0319EB2D7D
:100B3000C61FA92DC70A031DA92DC80A031DA92D6B
:100B4000C90A031DA92DC90CC80CC70CF70A031943
:100B5000EB2D451B2D2DC51B6F2DCD2D8030C906CE
:100B6000C91FB62DF02D4008C400C32D3C08C40099
:100B7000C908031DC32DC808031DC32DC708031DC5
:100B8000C32DF701E42DC91BCD2D0310C60DC70DD4
:100B9000C80DC90DF70BC32DEB2DC41FD12DC917DF
:100BA000E42DC913E42D3F08F7004008C9004108AF
:100BB000C8004208C700E42D3B08F7003C08C90004
:100BC0003D08C8003E08C7004908F8004808F90079
:100BD0004708FA00232EF701F801F901FA01232E44
:100BE000C601C709C809C909C609C60A031DFE2DE1
:100BF000C70A031DFE2DC80A0319C90A45180C2D82
:100C0000C5184E2D4519842DB32D0008C707031CA8
:100C10000F2EC80A031D0F2EC90A0319431484039B
:100C20000008C807031C172EC90A031943148403BC
:100C30000008801F803AC90703184314451A132D72
:100C4000C51A552D8B2D8A150A123D29F701F80179
:100C5000F901FA01D001D101D201D3014F084E04AC
:100C60004D044C040319642E2030D4000310C80D29
:100C7000C90DCA0DCB0DD00DD10DD20DD30D4F081E
:100C80005302031D4D2E4E085202031D4D2E4D08DA
:100C90005102031D4D2E4C085002031C5E2E4C08C1
:100CA000D0024D08031C4D0FD1024E08031C4E0FFD
:100CB000D2024F08031C4F0FD3020314F70DF80D97
:100CC000F90DFA0DD40B362E503084008313080032
:100CD0000408C0003F08C2000319FA2E3E08CB00EA
:100CE0003D08CA003C08C9003B08C800CF01CE013E
:100CF0002030CD008230CC0048080319EC2ED00003
:100D00004C080319EC2ED00703188D2E7F30D0022B
:100D1000031CEC2E0319EC2E912E8130D007031802
:100D2000EC2E5008F700F801F901FA014908D40047
:100D3000D4174A08D3004B08D2001830D000D10194
:100D4000521CBA2E4F08FA07031CAC2EF90A031DD9
:100D5000AC2EF80A0319D1174E08F907031CB32E5D
:100D6000F80A0319D1174D08CA00CA174A08F8072C
:100D70000318D117D10DF80CF90CFA0CD40CD30CC4
:100D8000D20C0310D00B9F2E0130F7070318EC2E66
:100D9000F81BD12ED40DFA0DF90DF80DF703031938
:100DA000EC2ED41FE22EFA0A031DE22EF90A031DCF
:100DB000E22EF80A031DE22EF80CF90CFA0CF70AE1
:100DC0000319EC2E4908D1004D08D106D11FEA2E97
:100DD000F817F02EF813F02EF701F801F901FA01D7
:100DE0007A08BE007908BD007808BC007708BB000F
:100DF000C20B6E2E3E08CB003D08CA003C08C9005D
:100E00003B08C8004808B63CC800FA014908CC00B5
:100E1000C9170310C90CCA0CCB0CFA0CF90CF80C4E
:100E2000F70CC80B092FCC1F202FF709F809F90977
:100E3000FA09F70A0319F80A0319F90A0319FA0A51
:100E40007A08BE007908BD007808BC007708BB00AE
:100E5000BE1F372FC003C016BB09BC09BD09BE09A0
:100E6000BB0A0319BC0A0319BD0A0319BE0A3B30A9
:100E7000C7009A30C600CA30C500C4010A30C2009B
:100E80003F080319C00A3E08CB003D08CA003C08D1
:100E9000C9003B08C8004708CF004608CE004508F7
:100EA000CD004408CC0026260008BB00840A0008B8
:100EB000BC00840A0008BD00840A0008BE00FD30A2
:100EC0008407F708031D772F3F0A42020319772F83
:100ED00040080319792F0F3942020319712F0318A3
:100EE000A92FC01BA92F401B792F2030A52F203000
:100EF000C005C01E872FC0123F08031DC00377081E
:100F0000C0002D30C8009D224008F700C0013F08F6
:100F10004202031D952F7708C0002E30C8009D2285
:100F20004008F7002030C00500303030C01EA52F2B
:100F3000C0123F08031DC0037708C0002D30C80051
:100F40009D224008F700C0013030F7077708C8003D
:100F50009D224708CB004608CA004508C90044083E
:100F6000C800CF01CE01CD010A30CC0026267A0878
:100F7000C7007908C6007808C5007708C400C20B0E
:100F8000432F8A150A125C29B61BD62F0F30F700A3
:100F9000350EF7050A3077020318D12F3030F707E6
:100FA000D32F3608F7077708C8009D220F30B50504
:100FB0000A3035020318DE2F3030E02FB613360822
:0E0FC000B5073508C8009D228A150A128F2930
:10100000840183131F308305713083168F000F080E
:10101000861383128617831603170908C0398900BF
:1010200003131F129F1200300317880083128701D9
:10103000880189010313A001A1013030A2002E30E4
:10104000A3003130A400A501FF30A600A701A8012C
:10105000AA01A901831603170908C03989000313DF
:101060001F129F12003003178800831203131F13EF
:101070009F1383169F1783121F149412A61226081B
:10108000831687008312261626088316870083128C
:10109000A6112608831687000130831294000030C1
:1010A000831694000108C739083881008312900123
:1010B0000030F8009200003083169200831226154B
:1010C0002608831687008312970183169B019C01D3
:1010D00001309D0083120317870188018901713057
:1010E000831603138F000F081530831203178D002A
:1010F00000308F008A11031352208A152030031705
:101100008D0000308F008A11031352208A15293078
:1011100003178D0000308F008A11031352208A15A7
:101120008A111B298A150130B5000230B6008A11D8
:10113000192A8A156430B5008A11872A8A15B401E4
:101140002130F700F70BA2282430EB008A11302061
:101150008A152130F700F70BAB28A8012B30A70028
:101160004130C8008A119D228A155730C8008A1163
:101170009D228A155330C8008A119D228A1522307B
:10118000840083138A11AA2A8A152030C8008A1184
:101190009D228A15B3012B30330784008313800806
:1011A0000319E9282130F700F70BD4282B30330737
:1011B000840083130008B5003508EB008A11302045
:1011C0008A153308B30A2B3E840083130008B40643
:1011D000CB28A8012B30A700103084002A08B600C5
:1011E0002908B5008A11C22A8A152030C8008A1140
:1011F0009D228A15B3012B303307840083138008A6
:10120000031919292130F700F70B04292B30330774
:10121000840083130008B5003508EB008A113020E4
:101220008A153308B30A2B3E840083130008B406E2
:10123000FB288A11AA2B8A157708B5007808B60012
:101240007908B7007A08B800BA010408B9003A1062
:10125000831B3A1483103808BE003708BD003608D7
:10126000BC003508BB003330C2009330C1000830E9
:10127000C0008730BF008A11E32C8A15390884002A
:1012800083133A1883177708B5007808B6007908F1
:10129000B7007A08B800A8012B30A7008930840075
:1012A0003808BE003708BD003608BC003508BB0052
:1012B0000230BF008A11682E8A152030C8008A11BA
:1012C0009D228A15B3012B303307840083138008D5
:1012D000031981292130F700F70B6C292B303307D4
:1012E000840083130008B5003508EB008A11302014
:1012F0008A153308B30A2B3E840083130008B40612
:101300006329A8012B30A7002A30C8008A119D222A
:101310008A153408B5003730B6008A11C42F8A15F3
:101320000D30C8008A119D228A150A30C8008A1122
:101330009D228A15B3012B30330784008313800864
:101340000319B3292130F700F70BA4293308B30A96
:101350002B3E840083130008B5003508EB008A118A
:1013600030208A159B292130F700F70BB52964003E
:0A137000A90A0319AA0A93286300D2
:100130007008F2006F08F1007208FA00710884007C
:1001400083137A18831780080319AA28F10A031960
:10015000F20A9C286F087102F7007208FA00700812
:10016000031C700FFA027708F800080083160317C3
:100170008C170C14000000000318DF2883120C08F1
:100180007F39F0000D08F1000F08F2007008F3004D
:1001900003133020710803178D0072088F00831637
:1001A0008C170C140000000083120313EF0BD928E6
:1001B000DC2883160317DF28F82883160317831219
:1001C0000C0D0E0D7F39F0000D08F1000F08F20044
:1001D0007008F30003133020710803178D007208B4
:1001E0008F008D0A03198F0A03100313EF0BB62833
:1001F0000800800803190E29F0010408EF007010B0
:10020000831B70140008F30030206F0884008313F0
:1002100070188317840A0319850AF9280800243006
:10022000BD004930BE006430BF003A30C00020300D
:10023000C1006930C2007230C3006D30C40072303A
:10024000C5006130C6006B30C7003430C8002E30A6
:10025000C9006330CA002030CB003230CC003130CE
:10026000CD003730CE00CF002030D0003230D1006A
:100270003030D2003130D300D4002D30D5003030B2
:10028000D6003930D7002D30D8003030D900353085
:10029000DA002030DB003130DC003830DD003A306D
:1002A000DE003530DF003630E0003A30E10031303A
:1002B000E2003630E3005A30E4002030E5006B30D5
:1002C000E6006130E7006B30E8006C30E90069302F
:1002D000EA006B30EB002030EC002430ED00EE0142
:1002E000F0013D30EF009820013078023D3E84005F
:1002F00083130008243C031D8729F0013D30EF00E3
:100300009820013078023D3E840083138001043040
:1003100003178D0000308F0003100F300313EF0020
:10032000B620223084008313F9200C3003178D008F
:1003300000308F0003140F300313EF00B62023307A
:10034000F3003020413084008313F9200D30F30096
:1003500030200A30F300302064008A150A12872901
:1003600083160814881083128810B629B7298316BB
:10037000881083128814BC29BD29831608108312A3
:100380000810C229C32983168810831288100330ED
:10039000F700F70BC9298316881083128814D02917
:1003A000D12983160814D429D529881083128810DE
:1003B00008003D308400831300080319EC29023043
:1003C000F800F701F70BE229F80BE1299730F70065
:1003D000F70BE829800BDF29080083160814881022
:1003E000831288100330F700F70BF429BD013D0894
:1003F000083C031C0D2A83168810831288140330CE
:10040000F700F70B012A8316881083128810033037
:10041000F700F70B092ABD0AF729B0211430BD00F7
:10042000D9218A150A128A298030D2000330F700B8
:10043000F70B182AD1015108073C031C3B2A8316ED
:100440008810831288105008520503192B2A83162E
:100450000814302A8312831608108312081083169A
:10046000312A322A881083128814362A372A031038
:10047000D20CD10A1B2A8316881083128810402AB6
:10048000412A831608148312531008185314831634
:100490008810831288144C2A4D2A831688108312E0
:1004A0008810003053180130F80008008316081433
:1004B0008810831288105C2A5D2AD101D00151086E
:1004C000753C031C772A031D692A50082F3C031C26
:1004D000772A831608148312081C772A0630F7003F
:1004E000F70B702A0000D00A0319D10A5F2A08000E
:1004F000D201D101D0015008073C031C952A0310FA
:10050000D10DD20D8316881083128814872A882A69
:100510008316081483120818511483168810831246
:100520008810922A932AD00A7B2A831608108312F5
:1005300008109A2A9B2A8316881083128814033085
:10054000F700F70BA12A8316881083128810A82AB7
:10055000A92A831608148312D0015008073C031CF3
:10056000C72A0310D10DD20D831688108312881468
:10057000B92ABA2A8316081483120818511483164C
:10058000881083128810C42AC52AD00AAD2A83167F
:100590000814CA2ACB2A8810831288140330F70063
:1005A000F70BD02A83168810831288105108F800A0
:1005B0005208F90008008E30F7006608F800650858
:1005C000F900FA01F808031DEF2A7908F800F9018B
:1005D0000830F702F808031DEF2AF701F72A031085
:1005E000F81BF62AF90DF80DF703EF2AF8130800A7
:1005F0006D080319822B8316A0007108031D022BBE
:100600008312822BA0070318102B7F30A00203183F
:100610000B2B8312822B031D0F2B8312822B162B85
:100620008130A007031C162B8312822B2008F700B1
:10063000F801F901FA0183126E088316A400A417C9
:1006400083126F088316A3007008A2001830A00060
:10065000A101221C482B7408FA07031C352BF90A48
:10066000031D352BF80A0319A1177308F907031C9A
:100670003C2BF80A0319A11772088312EF00EF1739
:100680006F08F807031C472B8316A11783128316E4
:10069000A10DF80CF90CFA0CA40CA30CA20C03107D
:1006A000A00B282B0130F707031C582B8312822B39
:1006B000F81B622BA40DFA0DF90DF80DF70B622B48
:1006C0008312822BA41F752BFA0A031D752BF90ABE
:1006D000031D752BF80A031D752BF80CF90CFA0C89
:1006E000F70A031D752B8312822B83126E08831663
:1006F000A1007208A106A11F7F2BF817872BF81302
:10070000872B8312F701F801F901FA01831683128E
:10071000080080308318EE068316A201A30183121D
:100720006A088316A10083126E088316A10683123D
:10073000690803199F2C8316A000F70083126D0827
:100740000319AC2C8316A0020319392C031CEB2BC4
:1007500083126E088316A600A61783126F088316ED
:10076000A5007008A400A3010310A60CA50CA40CFE
:10077000A30CA00BB32BA11FC02B2214C52C22103D
:10078000201022166C3084008313DA2C2212A11B55
:10079000D32B201CDE2BA60CA50CA40CA30CF70A53
:1007A0000319C02CDE2BA61BE12B0310A30DA40DF7
:1007B000A50DA60DF7030319C02CD32B22175F2C10
:1007C000221383126A088316A100A11FE92BA61722
:1007D000B92CA613B92C83126D088316A000F7005C
:1007E000831269088316A00283126A088316A60082
:1007F000A61783126B088316A50083126C08831654
:10080000A400A3010310A60CA50CA40CA30CA00B20
:10081000012CA11F0E2CA214C52CA2102010A21670
:10082000703084008313DA2CA212A11B212C201C0F
:100830002C2CA60CA50CA40CA30CF70A0319C02C95
:100840002C2CA61B2F2C0310A30DA40DA50DA60D5B
:10085000F7030319C02C212CA2175F2CA2138312BB
:100860006E088316A100A11F372CA617B92CA6135A
:10087000B92C83126E088316A600A61783126F0880
:100880008316A5007008A400A11F4A2CA6132215E8
:10089000C52C2211A30120106C3084008313DA2CA4
:1008A000A11B752C83126A088316A100201C5F2CE3
:1008B000A60CA50CA40CA30CF70A0319C02CA31FAB
:1008C000702CA40A031D702CA50A031D702CA60A07
:1008D000031D702CA60CA50CA40CF70A0319C02C40
:1008E000221BE02BA21B2E2C982C8030A606A61FC4
:1008F0007F2CC52C83126E088316A1008E2C8312C8
:100900006A088316A100A608031D8E2CA508031DE6
:100910008E2CA408031D8E2CF701B92CA61B982C35
:100920000310A30DA40DA50DA60DF70B8E2CC02C46
:10093000A11F9C2CA617B92CA613B92C83126D08E5
:10094000F7006E088316A60083126F088316A500B1
:100950007008A400B92C83126908F7006A0883168E
:10096000A60083126B088316A50083126C088316F9
:10097000A4002608F8002508F9002408FA00F82C3D
:10098000F701F801F901FA01F82CA301A409A5095E
:10099000A609A309A30A031DD32CA40A031DD32C63
:1009A000A50A0319A60A2218BF2BA2180D2C22197A
:1009B000492C7A2C0008A407031CE42CA50A031D6B
:1009C000E42CA60A0319201484030008A507031CBD
:1009D000EC2CA60A0319201484030008801F803A17
:1009E000A60703182014221AC62BA21A142C502C66
:1009F00083120800270884008313281883175008DF
:100A00008000840A8001A70A0319A80A0800800848
:100A100003191C2DBE010408BD003E10831B3E14AB
:100A20000008D000FA243D08840083133E18831781
:100A3000840A0319850A072D8A150A12482BC50155
:100A40000408C4004510831B45143E0EF038C00056
:100A5000C007E23EC100323EC3003E080F39C10765
:100A6000C107C307E93EC200C207C2073D0E0F39E6
:100A7000C207C307C20DC30DC309C30D3D080F391B
:100A8000C307C00D0730BF000A30C307C203031CF1
:100A9000452DC207C103031C492DC107C003031C18
:100AA0004D2DC007BF03031C512D3F30840083131D
:100AB00007304405441384074330040203194417E4
:100AC0000008F700031D6C2D441B6C2D441A7E2D6D
:100AD000C4196C2D20306F2DC41544123030F70727
:100AE000BE010408BD003E10831B3E147708D000F1
:100AF000FA243D08840083133E188317840A441F98
:100B00005C2D8A150A12782B0830C702031C942D1D
:100B10004730840083130310800C00080319942DC0
:100B2000922D0000800B912D0800A6132608831635
:100B30008700831287130230C600F830C70084256F
:100B4000C60B9D2DA6172608831687000230831238
:100B5000C600F830C7008425C60BA92DA6172608A5
:100B60008316870083120800C7014708073C031C4F
:100B7000DB2DA61326088316870083128713C02D4A
:100B8000C12D0314C60C0318C72D8713C82D871752
:100B9000A6132608831687002730F700F70BCE2D03
:100BA000D12D8312A617260883168700D72DD82D9E
:100BB0008312C70AB52D0800C6014608073C031C6E
:100BC000042EA61326088316870083128713E82DA8
:100BD000E92DA6172608831687000530F700F70BC6
:100BE000EF2D8312A6172608831687008312871B12
:100BF000FB2D0310FC2D0314C70C4F30F700F70B2F
:100C0000FF2D022EC60ADD2D4708F8000800BD01A1
:100C10009525CC30C600B4254430C600B425BD08A7
:100C2000031D162EDC257808BD000F2E9525CC302F
:100C3000C600B425BE30C600B425DC257808BE0049
:100C4000DC257808BF003F08C1003E08C00041080D
:100C5000C7004008C6008E30F7004708F800460875
:100C6000F900FA01C71F392EF809F909F90A031921
:100C7000F80AF808031D462E7908F800F901083033
:100C8000F702F808031D462EF7014F2E0310F81B3C
:100C90004D2EF90DF80DF703462EC71FF8137708F0
:100CA000C6007808C7007908C8007A08C900490852
:100CB000CD004808CC004708CB004608CA00D10147
:100CC000D001CF018330CE004A080319292FD60066
:100CD0004E080319292FD602031C732E7F30D60726
:100CE0000318292F792E8130D602031C292F0319CE
:100CF000292F5608F700F801F901FA01D5014B0830
:100D0000D400D4174C08D3004D08D2001930D600B7
:100D10005108D20203189C2E0130D30203189C2ED6
:100D2000D40203189C2ED50203189C2ED50AD40A8F
:100D3000D30A5108D207CE2E5008D3020318B72E7B
:100D40000130D4020318B72ED5020318B72ED50AE6
:100D5000D40A5008D3075108D207031CCE2ED30A59
:100D6000031DCE2ED40A031DCE2ED50ACE2E4F083B
:100D70008038D4020318CD2E0130D5020318CD2EB1
:100D8000D50A4F088038D4075008D307031CAB2E70
:100D9000D40A031DAB2ED50AAB2E7A14D60BD12E56
:100DA000DC2E0310D20DD30DD40DD50D0310FA0D8A
:100DB000F90DF80DD70D882E571CE42E0310F80CF2
:100DC000F90CFA0CD70CE72EF7030319292FD71BC0
:100DD000102F0310D20DD30DD40DD50D5108D20212
:100DE0000318FC2E0130D3020318FC2ED402031882
:100DF000FC2ED502031C1F2F5008D3020318072F07
:100E00000130D4020318072FD502031C1F2F4F08EF
:100E10008038D4020318102F0130D502031C1F2F75
:100E2000FA0A031D1F2FF90A031D1F2FF80A031DBD
:100E30001F2FF70A0319292FF80CF90CFA0C4B088D
:100E4000D6004F08D606D61F272FF8172D2FF813D8
:100E50002D2FF701F801F901FA017A08C500790888
:100E6000C4007808C3007708C2004208F7004308AE
:100E7000F8004408F9004508FA008A150A129F2B69
:100E8000F701F801F901FA01D801D901DA01DB0112
:100E9000570856045504540403197E2F2030DC00F3
:100EA0000310D00DD10DD20DD30DD80DD90DDA0D03
:100EB000DB0D57085B02031D672F56085A02031DFE
:100EC000672F55085902031D672F54085802031C49
:100ED000782F5408D8025508031C550FD90256081C
:100EE000031C560FDA025708031C570FDB020314CA
:100EF000F70DF80DF90DFA0DDC0B502F583084006A
:100F000083130800BE1B942F0F30F7003D0EF7052A
:100F10000A30770203188F2F3030F707912F3E08E1
:100F2000F7077708D000FA240F30BD050A303D02DC
:100F300003189C2F30309E2FBE133E08BD073D087E
:0A0F4000D000FA248A150A12952C3D
:101000000408C8004708CA00031921284608F00050
:101010004508EF004408EE004308ED00F401F30139
:101020002030F2008230F1008A11F8228A157A0805
:10103000C6007908C5007808C4007708C300CA0B49
:1010400006284608D3004508D2004408D1004308CA
:10105000D0005008B63CD000FA015108D400D11796
:101060000310D10CD20CD30CFA0CF90CF80CF70CC1
:10107000D00B3028D41F4728F709F809F909FA09D5
:10108000F70A0319F80A0319F90A0319FA0A7A0880
:10109000C6007908C5007808C4007708C300C61FD9
:1010A0005E28C803C816C309C409C509C609C30A0E
:1010B0000319C40A0319C50A0319C60A3B30CF0035
:1010C0009A30CE00CA30CD00CC010A30CA004708A1
:1010D0000319C80A4608D3004508D2004408D100C5
:1010E0004308D0004F08D7004E08D6004D08D50061
:1010F0004C08D4008A1140278A150008C300840ACE
:101100000008C400840A0008C500840A0008C6005C
:10111000FD308407F708031DA028470A4A02031977
:10112000A02848080319A2280F394A0203199A284F
:101130000318DA28C81BDA28481BA2282030D42834
:101140002030C805C81EB228C8124708031DC803AE
:101150007708C8002D30D0008A11FA248A15480873
:10116000F700C80147084A02031DC2287708C800D3
:101170002E30D0008A11FA248A154808F700203052
:10118000C80500303030C81ED428C8124708031DD7
:10119000C8037708C8002D30D0008A11FA248A15B8
:1011A0004808F700C8013030F7077708D0008A11E7
:1011B000FA248A154F08D3004E08D2004D08D100FA
:1011C0004C08D000D701D601D5010A30D4008A11CD
:1011D00040278A157A08CF007908CE007808CD001C
:1011E0007708CC00CA0B6A280800840183131F30DB
:1011F0008305713083168F000F08861383128617BC
:10120000831603170908C039890003131F129F12A0
:1012100000300317880083128701880189010313B6
:10122000A001A1013030A2002E30A3003130A40073
:10123000A501FF30A600A701A801AA01A9018316F4
:1012400003170908C039890003131F129F120030C9
:1012500003178800831203131F139F1383169F170E
:1012600083121F149412A612260883168700831275
:1012700026162608831687008312A61126088316D1
:101280008700013083129400003083169400010817
:10129000C73908388100831290010030F8009200AD
:1012A00000308316920083122615260883168700C5
:1012B0008312970183169B019C0101309D008312CC
:1012C00003178701880189017130831603138F008A
:1012D0000F081530831203178D0000308F008A111C
:1012E000031352208A15203003178D0000308F0021
:1012F0008A11031352208A15293003178D000030FC
:101300008F008A11031352208A158A110F298A151A
:101310008A11ED298A15B4016430BD008A11D921E2
:101320008A15BE01BD01BC01BB01BA01B9018A1118
:10133000B0218A150330D0008A1114228A154D106D
:1013400078184D144D18B2298A1156228A158A111F
:1013500078228A157908CF007808CE004E08F80068
:101360004F08F9007908BE007808BD008A11B02145
:101370008A150530D0008A1114228A154D1078186C
:101380004D144D18D1298A1156228A158A117822B6
:101390008A157908CF007808CE004E08F8004F086B
:1013A000F9007908C0007808BF003E08CE003D086B
:1013B000CD004008D0003F08CF004E08E6004D08A1
:1013C000E5008A11DB228A157708D9007808DA004F
:1013D0007908DB007A08DC00F0007908EF00780873
:1013E000EE007708ED000A30F400D730F300233028
:1013F000F2007830F1008A11F8228A157708D900B6
:101400007808DA007908DB007A08DC0083147A08AF
:10141000EC007908EB007808EA007708E900F001B1
:10142000EF012030EE008430ED008A1189238A1507
:101430007A08B8007908B7007808B6007708B500D0
:101440005008E6004F08E5008A11DB228A157A0869
:10145000D8007908D7007808D6007708D500580852
:10146000F0005708EF005608EE005508ED00543024
:10147000F400E330F3002530F2007A30F1008A11F5
:10148000F8228A157708D9007808DA007908DB0095
:101490007A08DC005808F0005708EF005608EE0004
:1014A0005508ED005808F4005708F3005608F200FC
:1014B0005508F1008A11F8228A157708DD007808AE
:1014C000DE007908DF007A08E000F0007908EF001C
:1014D0007808EE007708ED00A230F400E730F30062
:1014E0003B30F2006C30F1008A11F8228A15831427
:1014F0005C08EC005B08EB005A08EA005908E900B8
:101500007A08F0007908EF007808EE007708ED001F
:101510008A1189238A157708D9007808DA007908B2
:10152000DB007A08DC0083147A08EC007908EB0011
:101530007808EA007708E900F001EF01EE01813058
:10154000ED008A1189238A157A08C4007908C3003E
:101550007808C2007708C10083143808EC00370807
:10156000EB003608EA003508E900F001EF014830E9
:10157000EE008330ED008A1189238A157708D9009F
:101580007808DA007908DB007A08DC00AC30F0007B
:10159000C530EF002730EE007130ED005808F40040
:1015A0005708F3005608F2005508F1008A11F82296
:1015B0008A1583100A30EC00D730EB002330EA00A4
:1015C0007830E9007A08F0007908EF007808EE003A
:1015D0007708ED008A1189238A155C08F0005B0802
:1015E000EF005A08EE005908ED007A08F400790877
:1015F000F3007808F2007708F1008A11F8228A15C2
:101600007708D9007808DA007908DB007A08DC006E
:1016100083107A08EC007908EB007808EA00770874
:10162000E9004408F0004308EF004208EE004108DA
:10163000ED008A1189238A157A08BC007908BB005D
:101640007808BA007708B9002130F700F70B262B8D
:101650002430F3008A1130208A152130F700F70B6F
:101660002F2BA8012B30A7004130D0008A11FA247B
:101670008A155730D0008A11FA248A155330D000C9
:101680008A11FA248A152230840083138A11072DC7
:101690008A152030D0008A11FA248A15B3012B3024
:1016A000330784008313800803196D2B2130F70062
:1016B000F70B582B2B303307840083130008BD0031
:1016C0003D08F3008A1130208A153308B30A2B3EF7
:1016D000840083130008B4064F2BA8012B30A70009
:1016E000103084002A08BE002908BD008A111F2D71
:1016F0008A152030D0008A11FA248A15B3012B30C4
:10170000330784008313800803199D2B2130F700D1
:10171000F70B882B2B303307840083130008BD00A0
:101720003D08F3008A1130208A153308B30A2B3E96
:10173000840083130008B4067F2B8A11072E8A15B4
:101740007708BD007808BE007908BF007A08C0009D
:10175000C2010408C1004210831B421483104008D8
:10176000EC003F08EB003E08EA003D08E90033309A
:10177000F0009330EF000830EE008730ED008A1162
:1017800089238A1541088400831342188317770838
:10179000BD007808BE007908BF007A08C000A80123
:1017A0002B30A700893084004008C6003F08C500E0
:1017B0003E08C4003D08C3000230C70000202030AE
:1017C000D0008A11FA248A15B3012B303307840024
:1017D000831380080319032C2130F700F70BEE2B3D
:1017E0002B303307840083130008BD003D08F3004D
:1017F0008A1130208A153308B30A2B3E84008313E4
:101800000008B406E52B83103808EC003708EB001D
:101810003608EA003508E9003330F0009330EF0075
:101820000830EE008730ED008A1189238A15770889
:10183000BD007808BE007908BF007A08C000A80182
:101840002B30A700893084004008C6003F08C5003F
:101850003E08C4003D08C3000230C700002020300D
:10186000D0008A11FA248A15B3012B303307840083
:10187000831380080319532C2130F700F70B3E2CFB
:101880002B303307840083130008BD003D08F300AC
:101890008A1130208A153308B30A2B3E8400831343
:1018A0000008B406352CA8012B30A700893084002D
:1018B0003C08C6003B08C5003A08C4003908C3000C
:1018C0000230C70000202030D0008A11FA248A1587
:1018D000B3012B3033078400831380080319872C4E
:1018E0002130F700F70B722C2B3033078400831361
:1018F0000008BD003D08F3008A1130208A15330826
:10190000B30A2B3E840083130008B406692CA80197
:101910002B30A7002A30D0008A11FA248A15340807
:10192000BD003730BE008A11822F8A150D30D000DD
:101930008A11FA248A150A30D0008A11FA248A15ED
:10194000B3012B3033078400831380080319B92CAB
:101950002130F700F70BAA2C3308B30A2B3E840082
:1019600083130008BD003D08F3008A1130208A155A
:10197000A12C2130F700F70BBB2C6400A90A031936
:06198000AA0A8B29630096
:04400E00F52CFF3F4F
:00000001FF
;PIC16F887
;CRC=7048 CREATED="17-II-13 16:17"
;CRC=E53B CREATED="23-II-13 01:39"
/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.pjt
17,12 → 17,15
0=0000 %S 0 0 796 451 3 0
[Opened Files]
1=main.c
2=
3=dbloader.c
4=
5=..\ds1820.c
6=..\1wire.c
7=
2=main.h
3=C:\Program Files\PICC\devices\16F887.h
4=C:\Program Files\PICC\drivers\string.h
5=C:\Program Files\PICC\drivers\stddef.h
6=C:\Program Files\PICC\drivers\ctype.h
7=..\ds1820.c
8=..\1wire.c
9=..\SHT.c
10=
[Target Data]
OptionString=-p +FM
FileList=D:\MLAB\Designs\Measuring_instruments\AWS01A\SW\PIC16F887\main.c