/Modules/Sensors/ALTIMET01A/SCH_PCB/eagle.epf
45,7 → 45,7
Type="Schematic Editor"
Loc="375 165 974 564"
State=0
Number=1
Number=2
File="D:/Honza/MLAB/Modules/CommSerial/JTAGFT2232V02A/SCH_PCB/untitled.sch"
View="-185.409 -137.72 193.157 124.756"
WireWidths=" 0 0.3048 0.6096 0.8128 1.016 1.27 1.4224 1.6764 1.778 1.9304 2.1844 2.54 3.81 6.4516 0.4064 0.1524"
/Modules/Sensors/LTS01A/SW/PIC16F887/main.bak
19,6 → 19,7
setup_comparator(NC_NC_NC_NC);// This device COMP currently not supported by the PICWizard
 
printf("Simple Thermomether \r\n",);
printf("(c) MLAB 2013 JACHO \r\n",);
 
signed int8 MSB;
byte LSB;
/Modules/Sensors/LTS01A/SW/PIC16F887/main.c
5,6 → 5,8
#use i2c(master, sda=S_SDA, scl=S_SCL)
#use rs232(baud=9600,parity=N,xmit=PIN_B3,rcv=PIN_B2,bits=8) //rcv TXD xmit RXD
 
//Adresa pro VDD, VDD, VDD W 0x9E R 0x9F
//Adresa pro GND GND GND W 0x90 R 0x91
 
void main()
{
31,11 → 33,11
 
 
i2c_start();
I2C_Write(0x9E);
I2C_Write(0x90);
I2C_write(0x00);
i2c_stop();
i2c_start();
I2C_Write(0x9F);
I2C_Write(0x91);
MSB=i2c_read(1);
LSB=i2c_read(0);
i2c_stop();
/Modules/Sensors/LTS01A/SW/PIC16F887/main.cof
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Modules/Sensors/LTS01A/SW/PIC16F887/main.esym
1,7 → 1,7
D G "__PCM__" 0 51 ""4.106""
D G "__DEVICE__" 0 51 "887"
D G "__DATE__" 0 51 ""29-6-13""
D G "__TIME__" 0 51 ""22:36:01"" "Standard Header file for the PIC16F887 device ////////////////"
D G "__PCM__" 0 54 ""4.106""
D G "__DEVICE__" 0 54 "887"
D G "__DATE__" 0 54 ""19-7-13""
D G "__TIME__" 0 54 ""17:14:42"" "Standard Header file for the PIC16F887 device ////////////////"
d G "PIN_A0" 2 20 "40"
d G "PIN_A1" 2 21 "41"
d G "PIN_A2" 2 22 "42"
275,11 → 275,12
d G "INT_RB7" 2 420 "0x0800B08"
D G "S_SDA" 0 3 "PIN_C3"
D G "S_SCL" 0 4 "PIN_C4"
F G "main" 0 9 "void()"
C L "main" 0 19 1 "FUNCTION"
V L "MSB" 0 24 "sint8"
V L "LSB" 0 25 "int8"
V L "t" 0 26 "float"
C L "main" 0 8 2 "FUNCTION"
F G "main" 0 11 "void()"
C L "main" 0 8 1 "FUNCTION"
V L "MSB" 0 26 "sint8"
V L "LSB" 0 27 "int8"
V L "t" 0 28 "float"
F B "reset_cpu" 0 0
F B "abs" 1 0
F B "sleep_ulpwu" 1 0
/Modules/Sensors/LTS01A/SW/PIC16F887/main.hex
189,13 → 189,13
:100BC0008F0003134720A01520088316870000001C
:100BD00083122016200883168700000083128711D5
:100BE000A01120088316870000008312071220122C
:100BF0002008831687009E308312A7008D20A7014E
:100BF00020088316870090308312A7008D20A7015C
:100C00008D20A01120088316870000008312201673
:100C10002008831687008312071E0C2E0000102E5A
:100C20000000A01520088316870000008312A0157D
:100C300020088316870000008312201620088316E0
:100C40008700000083128711A011200883168700F7
:100C500000008312071220122008831687009F309D
:100C500000008312071220122008831687009130AB
:100C60008312A7008D200130F700D7207808A1005B
:100C7000F701D7207808A200A0112008831687006A
:100C80000000831220162008831687008312071E97
217,4 → 217,4
:04400E00F52CFF3F4F
:00000001FF
;PIC16F887
;CRC=6A65 CREATED="29-6-13 22:36"
;CRC=B7AC CREATED="19-7-13 17:14"
/Modules/Sensors/LTS01A/SW/PIC16F887/main.lst
1,4 → 1,4
CCS PCM C Compiler, Version 4.106, 47914 29-6-13 22:36
CCS PCM C Compiler, Version 4.106, 47914 19-7-13 17:14
 
Filename: D:\Honza\MLAB\Modules\Sensors\LTS01A\SW\PIC16F887\main.lst
 
246,6 → 246,8
0045: GOTO 037
0046: RETURN
....................
.................... //Adresa pro VDD, VDD, VDD W 0x9E R 0x9F
.................... //Adresa pro GND GND GND W 0x90 R 0x91
....................
.................... void main()
.................... {
406,8 → 408,8
05F8: MOVF 20,W
05F9: BSF 03.5
05FA: MOVWF 07
.................... I2C_Write(0x9E);
05FB: MOVLW 9E
.................... I2C_Write(0x90);
05FB: MOVLW 90
05FC: BCF 03.5
05FD: MOVWF 27
05FE: CALL 08D
462,8 → 464,8
062C: MOVF 20,W
062D: BSF 03.5
062E: MOVWF 07
.................... I2C_Write(0x9F);
062F: MOVLW 9F
.................... I2C_Write(0x91);
062F: MOVLW 91
0630: BCF 03.5
0631: MOVWF 27
0632: CALL 08D
/Modules/Sensors/LTS01A/SW/PIC16F887/main.sta
12,11 → 12,11
 
Lines Stmts % Files
----- ----- --- -----
51 26 100 main.c
53 26 100 main.c
20 0 0 main.h
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h
----- -----
494 26 Total
496 26 Total
 
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
42,7 → 42,7
Program metrics:
Functions 1
Statements 26
Comments 84
Comments 86
Volume (V) 840
Difficilty (D) 3.5
Effort to implement (E) 2918
49,7 → 49,7
Time to implement (T) 3 minutes
Est Delivered Bugs (B) 0
Cyclomatic Complexity 1
Maintainability (MI) 133
Maintainability (MI) 132
 
Segment Used Free
----------- ---- ----