/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.c
71,10 → 71,9
setup_spi(SPI_MASTER | SPI_MODE_0 | SPI_CLK_DIV_64);
output_high(CSN_SPI);
 
 
delay_ms(100);
 
welcome();
welcome(); // welocome print and device indentification
 
sht_init();
MPL_init(); // get correction coefficients from the sensor
/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.hex
82,12 → 82,12
:100520006430A2003A30A3002030A4006D30A50052
:100530006130A6006930A7006E30A8002E30A900F7
:100540006330AA002030AB003230AC003830AD0050
:100550003230AE003630AF002030B0003230B10063
:100550003230AE003830AF002030B0003230B10061
:100560003030B2003130B3003330B4002D30B5003C
:100570003030B6003330B7002D30B8003130B9001C
:100580003030BA002030BB003130BC003530BD0007
:100590003A30BE003230BF003730C0003A30C100C0
:1005A0003230C2003130C3005A30C4002030C500A0
:100590003A30BE003430BF003930C0003A30C100BC
:1005A0003530C2003430C3005A30C4002030C5009A
:1005B0006B30C6006130C7006B30C8006C30C900BA
:1005C0006930CA006B30CB002030CC002430CD0025
:1005D000CE01D301A030D2008312E921013078028C
534,4 → 534,4
:04400E00FD2CFF3F47
:00000001FF
;PIC16F887
;CRC=EFA5 CREATED="10-III-13 16:49"
;CRC=8BE5 CREATED="10-III-13 16:53"
/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.pjt
18,16 → 18,16
[Opened Files]
1=main.c
2=common\dbloader.h
3=
4=C:\Program Files\PICC\drivers\stddef.h
5=C:\Program Files\PICC\drivers\ctype.h
6=main.h
7=..\ds1820.c
8=..\1wire.c
9=..\SHT.c
10=..\MPL115A1.c
11=common\dbloader.h
12=common\bloader_defs.h
3=main.h
4=C:\Program Files\PICC\devices\16F887.h
5=C:\Program Files\PICC\drivers\string.h
6=C:\Program Files\PICC\drivers\stddef.h
7=C:\Program Files\PICC\drivers\ctype.h
8=..\ds1820.c
9=..\1wire.c
10=..\SHT.c
11=..\MPL115A1.c
12=
13=
14=
[Target Data]