No changes between revisions
/Designs/Measuring_instruments/GeoMet01A/DOC/SRC/Thermometer_Big.JPG
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/Designs/Measuring_instruments/GeoMet01A/PrjInfo.txt
0,0 → 1,16
//
// Toto je popisný soubor pro popis obsahu adresáře (příklad)
//
 
[InfoShortDescription.en]
Simple digital thermometer
 
[InfoShortDescription.cs]
Jednoduchý digitální teploměr
[InfoLongDescription.en]
This thermometer reads the temperature from DS18B20 sensor and displays it on LCD in Kelvin degrees.
 
[InfoLongDescription.cs]
Snímá teplotu pomocí čidla DS18B20 a zobrazuje ji na LCD ve stupních Kelvina.
[End]
/Designs/Measuring_instruments/GeoMet01A/SW/LTS01.c
0,0 → 1,21
float LTS01_get_temp()
{
unsigned int8 MSB;
unsigned int8 LSB;
signed int16 data;
 
i2c_start();
I2C_Write(LTS01A_address);
I2C_write(0x00);
i2c_stop();
i2c_start();
I2C_Write(LTS01A_address+1);
MSB=i2c_read(1);
LSB=i2c_read(0);
i2c_stop();
 
data = MAKE16(MSB,LSB);
 
return (data * 0.00390625 );
 
}
/Designs/Measuring_instruments/GeoMet01A/SW/LTS01.h
0,0 → 1,6
//Adresa pro VDD, VDD, VDD W 0x9E R 0x9F
//Adresa pro GND GND GND W 0x90 R 0x91
 
#define LTS01A_address 0x90
 
#include "LTS01.c"
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.c
0,0 → 1,57
#include "main.h"
 
#define LCD_ENABLE_PIN PIN_E0 ////
#define LCD_RS_PIN PIN_E1 ////
#define LCD_RW_PIN PIN_E2 ////
#define LCD_DATA4 PIN_D4 ////
#define LCD_DATA5 PIN_D5 ////
#define LCD_DATA6 PIN_D6 ////
#define LCD_DATA7 PIN_D7
#include <lcd.c>
 
#include "../SHT25.h"
#include "../LTS01.h"
 
void main()
{
float temp1, temp2, humidity;
int16 i=0;
 
setup_adc_ports(NO_ANALOGS|VSS_VDD);
setup_adc(ADC_CLOCK_DIV_2);
setup_spi(SPI_SS_DISABLED);
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
setup_ccp1(CCP_OFF);
setup_comparator(NC_NC_NC_NC); // This device COMP currently not supported by the PICWizard
setup_oscillator(OSC_8MHZ);
 
 
printf("GeoMet01A\r\n",);
printf("(c) Kaklik 2013\r\n");
printf("www.mlab.cz\r\n");
 
lcd_init();
lcd_putc("(c) Kaklik 2013");
lcd_gotoxy(3,2);
lcd_putc("www.mlab.cz");
Delay_ms(2000);
lcd_init();
 
while (TRUE)
{
lcd_gotoxy(1,1);
temp1 = SHT25_get_temp();
humidity = SHT25_get_hum();
temp2= LTS01_get_temp();
 
printf(lcd_putc,"%f C %f \%% \r\n",temp1, humidity);
lcd_gotoxy(1,2);
printf(lcd_putc," %f C",temp2);
printf("%ld %f %f %f \r\n",i, temp1, humidity, temp2);
i++;
Delay_ms(100);
}
 
}
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.cof
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.err
0,0 → 1,2
Memory usage: ROM=36% RAM=6% - 12%
0 Errors, 0 Warnings.
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.esym
0,0 → 1,511
D G "__PCM__" 0 59 ""4.106""
D G "__DEVICE__" 0 59 "887"
D G "__DATE__" 0 59 ""26-VIII-13""
D G "__TIME__" 0 59 ""19:04:37"" "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"
d G "PIN_A3" 2 23 "43"
d G "PIN_A4" 2 24 "44"
d G "PIN_A5" 2 25 "45"
d G "PIN_A6" 2 26 "46"
d G "PIN_A7" 2 27 "47"
d G "PIN_B0" 2 29 "48"
d G "PIN_B1" 2 30 "49"
d G "PIN_B2" 2 31 "50"
d G "PIN_B3" 2 32 "51"
d G "PIN_B4" 2 33 "52"
d G "PIN_B5" 2 34 "53"
d G "PIN_B6" 2 35 "54"
d G "PIN_B7" 2 36 "55"
d G "PIN_C0" 2 38 "56"
d G "PIN_C1" 2 39 "57"
d G "PIN_C2" 2 40 "58"
d G "PIN_C3" 2 41 "59"
d G "PIN_C4" 2 42 "60"
d G "PIN_C5" 2 43 "61"
d G "PIN_C6" 2 44 "62"
d G "PIN_C7" 2 45 "63"
d G "PIN_D0" 2 47 "64"
d G "PIN_D1" 2 48 "65"
d G "PIN_D2" 2 49 "66"
d G "PIN_D3" 2 50 "67"
d G "PIN_D4" 2 51 "68"
d G "PIN_D5" 2 52 "69"
d G "PIN_D6" 2 53 "70"
d G "PIN_D7" 2 54 "71"
d G "PIN_E0" 2 56 "72"
d G "PIN_E1" 2 57 "73"
d G "PIN_E2" 2 58 "74"
d G "PIN_E3" 2 59 "75"
d G "FALSE" 2 62 "0"
d G "TRUE" 2 63 "1"
d G "BYTE" 2 65 "int8"
d G "BOOLEAN" 2 66 "int1"
d G "getc" 2 68 "getch"
d G "fgetc" 2 69 "getch"
d G "getchar" 2 70 "getch"
d G "putc" 2 71 "putchar"
d G "fputc" 2 72 "putchar"
d G "fgets" 2 73 "gets"
d G "fputs" 2 74 "puts"
d G "WDT_FROM_SLEEP" 2 79 "3"
d G "WDT_TIMEOUT" 2 80 "11"
d G "MCLR_FROM_SLEEP" 2 81 "19"
d G "MCLR_FROM_RUN" 2 82 "27"
d G "NORMAL_POWER_UP" 2 83 "25"
d G "BROWNOUT_RESTART" 2 84 "26"
d G "T0_INTERNAL" 2 91 "0"
d G "T0_EXT_L_TO_H" 2 92 "32"
d G "T0_EXT_H_TO_L" 2 93 "48"
d G "T0_DIV_1" 2 95 "8"
d G "T0_DIV_2" 2 96 "0"
d G "T0_DIV_4" 2 97 "1"
d G "T0_DIV_8" 2 98 "2"
d G "T0_DIV_16" 2 99 "3"
d G "T0_DIV_32" 2 100 "4"
d G "T0_DIV_64" 2 101 "5"
d G "T0_DIV_128" 2 102 "6"
d G "T0_DIV_256" 2 103 "7"
d G "T0_8_BIT" 2 106 "0"
d G "RTCC_INTERNAL" 2 108 "0" "The following are provided for compatibility"
d G "RTCC_EXT_L_TO_H" 2 109 "32" "with older compiler versions"
d G "RTCC_EXT_H_TO_L" 2 110 "48"
d G "RTCC_DIV_1" 2 111 "8"
d G "RTCC_DIV_2" 2 112 "0"
d G "RTCC_DIV_4" 2 113 "1"
d G "RTCC_DIV_8" 2 114 "2"
d G "RTCC_DIV_16" 2 115 "3"
d G "RTCC_DIV_32" 2 116 "4"
d G "RTCC_DIV_64" 2 117 "5"
d G "RTCC_DIV_128" 2 118 "6"
d G "RTCC_DIV_256" 2 119 "7"
d G "RTCC_8_BIT" 2 120 "0"
d G "WDT_18MS" 2 132 "8"
d G "WDT_36MS" 2 133 "9"
d G "WDT_72MS" 2 134 "10"
d G "WDT_144MS" 2 135 "11"
d G "WDT_288MS" 2 136 "12"
d G "WDT_576MS" 2 137 "13"
d G "WDT_1152MS" 2 138 "14"
d G "WDT_2304MS" 2 139 "15"
d G "WDT_ON" 2 143 "0x4100"
d G "WDT_OFF" 2 144 "0"
d G "WDT_DIV_16" 2 145 "0x100"
d G "WDT_DIV_8" 2 146 "0x300"
d G "WDT_DIV_4" 2 147 "0x500"
d G "WDT_DIV_2" 2 148 "0x700"
d G "WDT_TIMES_1" 2 149 "0x900" "Default"
d G "WDT_TIMES_2" 2 150 "0xB00"
d G "WDT_TIMES_4" 2 151 "0xD00"
d G "WDT_TIMES_8" 2 152 "0xF00"
d G "WDT_TIMES_16" 2 153 "0x1100"
d G "WDT_TIMES_32" 2 154 "0x1300"
d G "WDT_TIMES_64" 2 155 "0x1500"
d G "WDT_TIMES_128" 2 156 "0x1700"
d G "T1_DISABLED" 2 162 "0"
d G "T1_INTERNAL" 2 163 "5"
d G "T1_EXTERNAL" 2 164 "7"
d G "T1_EXTERNAL_SYNC" 2 165 "3"
d G "T1_CLK_OUT" 2 167 "8"
d G "T1_DIV_BY_1" 2 169 "0"
d G "T1_DIV_BY_2" 2 170 "0x10"
d G "T1_DIV_BY_4" 2 171 "0x20"
d G "T1_DIV_BY_8" 2 172 "0x30"
d G "T1_GATE" 2 174 "0x40"
d G "T1_GATE_INVERTED" 2 175 "0xC0"
d G "T2_DISABLED" 2 180 "0"
d G "T2_DIV_BY_1" 2 181 "4"
d G "T2_DIV_BY_4" 2 182 "5"
d G "T2_DIV_BY_16" 2 183 "6"
d G "CCP_OFF" 2 189 "0"
d G "CCP_CAPTURE_FE" 2 190 "4"
d G "CCP_CAPTURE_RE" 2 191 "5"
d G "CCP_CAPTURE_DIV_4" 2 192 "6"
d G "CCP_CAPTURE_DIV_16" 2 193 "7"
d G "CCP_COMPARE_SET_ON_MATCH" 2 194 "8"
d G "CCP_COMPARE_CLR_ON_MATCH" 2 195 "9"
d G "CCP_COMPARE_INT" 2 196 "0xA"
d G "CCP_COMPARE_RESET_TIMER" 2 197 "0xB"
d G "CCP_PWM" 2 198 "0xC"
d G "CCP_PWM_PLUS_1" 2 199 "0x1c"
d G "CCP_PWM_PLUS_2" 2 200 "0x2c"
d G "CCP_PWM_PLUS_3" 2 201 "0x3c"
d G "CCP_PWM_H_H" 2 206 "0x0c"
d G "CCP_PWM_H_L" 2 207 "0x0d"
d G "CCP_PWM_L_H" 2 208 "0x0e"
d G "CCP_PWM_L_L" 2 209 "0x0f"
d G "CCP_PWM_FULL_BRIDGE" 2 211 "0x40"
d G "CCP_PWM_FULL_BRIDGE_REV" 2 212 "0xC0"
d G "CCP_PWM_HALF_BRIDGE" 2 213 "0x80"
d G "CCP_SHUTDOWN_ON_COMP1" 2 215 "0x100000"
d G "CCP_SHUTDOWN_ON_COMP2" 2 216 "0x200000"
d G "CCP_SHUTDOWN_ON_COMP" 2 217 "0x300000"
d G "CCP_SHUTDOWN_ON_INT0" 2 218 "0x400000"
d G "CCP_SHUTDOWN_ON_COMP1_INT0" 2 219 "0x500000"
d G "CCP_SHUTDOWN_ON_COMP2_INT0" 2 220 "0x600000"
d G "CCP_SHUTDOWN_ON_COMP_INT0" 2 221 "0x700000"
d G "CCP_SHUTDOWN_AC_L" 2 223 "0x000000"
d G "CCP_SHUTDOWN_AC_H" 2 224 "0x040000"
d G "CCP_SHUTDOWN_AC_F" 2 225 "0x080000"
d G "CCP_SHUTDOWN_BD_L" 2 227 "0x000000"
d G "CCP_SHUTDOWN_BD_H" 2 228 "0x010000"
d G "CCP_SHUTDOWN_BD_F" 2 229 "0x020000"
d G "CCP_SHUTDOWN_RESTART" 2 231 "0x80000000"
d G "CCP_PULSE_STEERING_A" 2 233 "0x01000000"
d G "CCP_PULSE_STEERING_B" 2 234 "0x02000000"
d G "CCP_PULSE_STEERING_C" 2 235 "0x04000000"
d G "CCP_PULSE_STEERING_D" 2 236 "0x08000000"
d G "CCP_PULSE_STEERING_SYNC" 2 237 "0x10000000"
d G "SPI_MASTER" 2 245 "0x20"
d G "SPI_SLAVE" 2 246 "0x24"
d G "SPI_L_TO_H" 2 247 "0"
d G "SPI_H_TO_L" 2 248 "0x10"
d G "SPI_CLK_DIV_4" 2 249 "0"
d G "SPI_CLK_DIV_16" 2 250 "1"
d G "SPI_CLK_DIV_64" 2 251 "2"
d G "SPI_CLK_T2" 2 252 "3"
d G "SPI_SS_DISABLED" 2 253 "1"
d G "SPI_SAMPLE_AT_END" 2 255 "0x8000"
d G "SPI_XMIT_L_TO_H" 2 256 "0x4000"
d G "UART_ADDRESS" 2 262 "2"
d G "UART_DATA" 2 263 "4"
d G "UART_AUTODETECT" 2 264 "8"
d G "UART_AUTODETECT_NOWAIT" 2 265 "9"
d G "UART_WAKEUP_ON_RDA" 2 266 "10"
d G "UART_SEND_BREAK" 2 267 "13"
d G "NC_NC_NC_NC" 2 273 "0x00"
d G "NC_NC" 2 274 "0x00"
d G "CP1_A0_A3" 2 277 "0x00090080"
d G "CP1_A1_A3" 2 278 "0x000A0081"
d G "CP1_B3_A3" 2 279 "0x00880082"
d G "CP1_B1_A3" 2 280 "0x00280083"
d G "CP1_A0_VREF" 2 281 "0x00010084"
d G "CP1_A1_VREF" 2 282 "0x00020085"
d G "CP1_B3_VREF" 2 283 "0x00800086"
d G "CP1_B1_VREF" 2 284 "0x00200087"
d G "CP1_OUT_ON_A4" 2 286 "0x00000020"
d G "CP1_INVERT" 2 287 "0x00000010"
d G "CP1_ABSOLUTE_VREF" 2 288 "0x20000000"
d G "CP2_A0_A2" 2 291 "0x00058000"
d G "CP2_A1_A2" 2 292 "0x00068100"
d G "CP2_B3_A2" 2 293 "0x00848200"
d G "CP2_B1_A2" 2 294 "0x00248300"
d G "CP2_A0_VREF" 2 295 "0x00018400"
d G "CP2_A1_VREF" 2 296 "0x00028500"
d G "CP2_B3_VREF" 2 297 "0x00808600"
d G "CP2_B1_VREF" 2 298 "0x00208700"
d G "CP2_OUT_ON_A5" 2 300 "0x00002000"
d G "CP2_INVERT" 2 301 "0x00001000"
d G "CP2_ABSOLUTE_VREF" 2 302 "0x10000000"
d G "CP2_T1_SYNC" 2 305 "0x01000000"
d G "CP2_T1_GATE" 2 306 "0x02000000"
d G "VREF_LOW" 2 315 "0xa0"
d G "VREF_HIGH" 2 316 "0x80"
d G "OSC_31KHZ" 2 322 "1"
d G "OSC_125KHZ" 2 323 "0x11"
d G "OSC_250KHZ" 2 324 "0x21"
d G "OSC_500KHZ" 2 325 "0x31"
d G "OSC_1MHZ" 2 326 "0x41"
d G "OSC_2MHZ" 2 327 "0x51"
d G "OSC_4MHZ" 2 328 "0x61"
d G "OSC_8MHZ" 2 329 "0x71"
d G "OSC_INTRC" 2 330 "1"
d G "OSC_NORMAL" 2 331 "0"
d G "OSC_STATE_STABLE" 2 333 "4"
d G "OSC_31KHZ_STABLE" 2 334 "2"
d G "ADC_OFF" 2 342 "0" "ADC Off"
d G "ADC_CLOCK_DIV_2" 2 343 "0x100"
d G "ADC_CLOCK_DIV_8" 2 344 "0x40"
d G "ADC_CLOCK_DIV_32" 2 345 "0x80"
d G "ADC_CLOCK_INTERNAL" 2 346 "0xc0" "Internal 2-6us"
d G "sAN0" 2 350 "1" "| A0"
d G "sAN1" 2 351 "2" "| A1"
d G "sAN2" 2 352 "4" "| A2"
d G "sAN3" 2 353 "8" "| A3"
d G "sAN4" 2 354 "16" "| A5"
d G "sAN5" 2 355 "32" "| E0"
d G "sAN6" 2 356 "64" "| E1"
d G "sAN7" 2 357 "128" "| E2"
d G "sAN8" 2 358 "0x10000" "| B2"
d G "sAN9" 2 359 "0x20000" "| B3"
d G "sAN10" 2 360 "0x40000" "| B1"
d G "sAN11" 2 361 "0x80000" "| B4"
d G "sAN12" 2 362 "0x100000" "| B0"
d G "sAN13" 2 363 "0x200000" "| B5"
d G "NO_ANALOGS" 2 364 "0" "None"
d G "ALL_ANALOG" 2 365 "0x1F00FF" "A0 A1 A2 A3 A5 E0 E1 E2 B0 B1 B2 B3 B4 B5"
d G "VSS_VDD" 2 368 "0x0000" "| Range 0-Vdd"
d G "VSS_VREF" 2 369 "0x1000" "| Range 0-Vref"
d G "VREF_VREF" 2 370 "0x3000" "| Range Vref-Vref"
d G "VREF_VDD" 2 371 "0x2000" "| Range Vref-Vdd"
d G "ADC_START_AND_READ" 2 375 "7" "This is the default if nothing is specified"
d G "ADC_START_ONLY" 2 376 "1"
d G "ADC_READ_ONLY" 2 377 "6"
d G "L_TO_H" 2 389 "0x40"
d G "H_TO_L" 2 390 "0"
d G "GLOBAL" 2 392 "0x0BC0"
d G "INT_RTCC" 2 393 "0x000B20"
d G "INT_RB" 2 394 "0x01FF0B08"
d G "INT_EXT_L2H" 2 395 "0x50000B10"
d G "INT_EXT_H2L" 2 396 "0x60000B10"
d G "INT_EXT" 2 397 "0x000B10"
d G "INT_AD" 2 398 "0x008C40"
d G "INT_TBE" 2 399 "0x008C10"
d G "INT_RDA" 2 400 "0x008C20"
d G "INT_TIMER1" 2 401 "0x008C01"
d G "INT_TIMER2" 2 402 "0x008C02"
d G "INT_CCP1" 2 403 "0x008C04"
d G "INT_CCP2" 2 404 "0x008D01"
d G "INT_SSP" 2 405 "0x008C08"
d G "INT_BUSCOL" 2 406 "0x008D08"
d G "INT_EEPROM" 2 407 "0x008D10"
d G "INT_TIMER0" 2 408 "0x000B20"
d G "INT_OSC_FAIL" 2 409 "0x008D80"
d G "INT_COMP" 2 410 "0x008D20"
d G "INT_COMP2" 2 411 "0x008D40"
d G "INT_ULPWU" 2 412 "0x008D04"
d G "INT_RB0" 2 413 "0x0010B08"
d G "INT_RB1" 2 414 "0x0020B08"
d G "INT_RB2" 2 415 "0x0040B08"
d G "INT_RB3" 2 416 "0x0080B08"
d G "INT_RB4" 2 417 "0x0100B08"
d G "INT_RB5" 2 418 "0x0200B08"
d G "INT_RB6" 2 419 "0x0400B08"
d G "INT_RB7" 2 420 "0x0800B08"
D G "LCD_ENABLE_PIN" 0 3 "PIN_E0"
D G "LCD_RS_PIN" 0 4 "PIN_E1"
D G "LCD_RW_PIN" 0 5 "PIN_E2"
D G "LCD_DATA4" 0 6 "PIN_D4"
D G "LCD_DATA5" 0 7 "PIN_D5"
D G "LCD_DATA6" 0 8 "PIN_D6"
D G "LCD_DATA7" 0 9 "PIN_D7"
T G "LCD_PIN_MAP" 3 81 "{int1 enable,int1 rs,int1 rw,int1 unused,int4 data}" "this is to improve compatability with previous LCD drivers that accepted"
D G "lcd_output_enable" 3 103 "(x) output_bit(LCD_ENABLE_PIN, x)"
D G "lcd_enable_tris" 3 104 "() output_drive(LCD_ENABLE_PIN)"
D G "lcd_output_rs" 3 111 "(x) output_bit(LCD_RS_PIN, x)"
D G "lcd_rs_tris" 3 112 "() output_drive(LCD_RS_PIN)"
D G "lcd_output_rw" 3 119 "(x) output_bit(LCD_RW_PIN, x)"
D G "lcd_rw_tris" 3 120 "() output_drive(LCD_RW_PIN)"
D G "LCD_TYPE" 3 170 "2" "0=5x7, 1=5x10, 2=2 lines"
D G "LCD_LINE_TWO" 3 174 "0x40" "LCD RAM address for the second line"
D G "LCD_LINE_LENGTH" 3 178 "20"
V G "LCD_INIT_STRING" 3 181 "int8[4]"
C L "lcd_read_nibble" 3 2 2 "FUNCTION"
F G "lcd_read_nibble" 3 185 "int8()"
F G "lcd_read_byte" 3 187 "int8()"
V L "low" 3 189 "int8"
V L "high" 3 189 "int8"
F G "lcd_read_nibble" 3 234 "int8()"
V L "n" 3 237 "int8"
C L "lcd_read_nibble" 3 2 1 "FUNCTION"
F G "lcd_send_nibble" 3 251 "void(int8 n)"
V L "n" 3 251 "int8"
C L "lcd_send_nibble" 3 2 1 "FUNCTION"
F G "lcd_send_byte" 3 269 "void(int8 address,int8 n)"
V L "address" 3 269 "int8"
V L "n" 3 269 "int8"
F G "lcd_init" 3 294 "void()"
V L "i" 3 296 "int8"
F G "lcd_gotoxy" 3 335 "void(int8 x,int8 y)"
V L "x" 3 335 "int8"
V L "y" 3 335 "int8"
V L "address" 3 337 "int8"
F G "lcd_putc" 3 353 "void(int8 c)"
V L "c" 3 353 "int8"
F G "lcd_getc" 3 396 "int8(int8 x,int8 y)"
V L "x" 3 396 "int8"
V L "y" 3 396 "int8"
V L "value" 3 398 "int8"
C L "lcd_getc" 3 2 1 "FUNCTION"
D G "SHT25_HEATER_ON" 4 2 "0x04"
D G "SHT25_HEATER_OFF" 4 3 "0x00"
D G "SHT25_OTP_reload_off" 4 4 "0x02"
D G "SHT25_RH12_T14" 4 5 "0x00"
D G "SHT25_RH8_T12" 4 6 "0x01"
D G "SHT25_RH10_T13" 4 7 "0x80"
D G "SHT25_RH11_T11" 4 8 "0x81"
D G "SHT25_ADDR" 4 10 "0x80"
F G "SHT25_soft_reset" 5 1 "void()"
C L "SHT25_soft_reset" 5 3 1 "FUNCTION"
C L "SHT25_soft_reset" 5 3 1 "FUNCTION"
C L "SHT25_soft_reset" 5 3 1 "FUNCTION"
C L "SHT25_soft_reset" 5 3 1 "FUNCTION"
F G "SHT25_setup" 5 9 "int8(int8 setup_reg)"
V L "setup_reg" 5 9 "int8" "writes to status register and returns its value"
V L "reg" 5 11 "int8"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
C L "SHT25_setup" 5 3 1 "FUNCTION"
F G "SHT25_get_temp" 5 43 "float()"
V L "MSB" 5 45 "int8"
V L "LSB" 5 45 "int8"
V L "Check" 5 45 "int8"
V L "data" 5 46 "int16"
C L "SHT25_get_temp" 5 3 1 "FUNCTION"
F G "SHT25_get_hum" 5 68 "float()"
V L "MSB" 5 70 "int8"
V L "LSB" 5 70 "int8"
V L "Check" 5 70 "int8"
V L "data" 5 71 "int16"
C L "SHT25_get_hum" 5 3 1 "FUNCTION"
C L "SHT25_get_hum" 5 3 1 "FUNCTION"
D G "LTS01A_address" 6 4 "0x90"
F G "LTS01_get_temp" 7 1 "float()"
V L "MSB" 7 3 "int8"
V L "LSB" 7 4 "int8"
V L "data" 7 5 "sint16"
F G "MAIN" 0 15 "void()"
V L "temp1" 0 17 "float"
V L "temp2" 0 17 "float"
V L "humidity" 0 17 "float"
V L "i" 0 18 "int16"
C L "MAIN" 0 27 1 "FUNCTION"
F B "reset_cpu" 0 0
F B "abs" 1 0
F B "sleep_ulpwu" 1 0
F B "sleep" 0 0
F B "delay_cycles" 1 0
F B "read_bank" 2 0
F B "write_bank" 3 0
F B "shift_left" 2 2
F B "shift_right" 2 2
F B "rotate_left" 2 0
F B "rotate_right" 2 0
F B "_mul" 2 0
F B "memset" 3 0
F B "isamoung" 2 0
F B "isamong" 2 0
F B "bit_set" 2 0
F B "bit_clear" 2 0
F B "bit_test" 2 0
F B "toupper" 1 0
F B "tolower" 1 0
F B "swap" 1 0
F B "printf" 1 255
F B "fprintf" 1 255
F B "sprintf" 1 255
F B "make8" 2 0
F B "make16" 2 0
F B "make32" 1 255
F B "label_address" 1 1
F B "goto_address" 1 0
F B "_va_arg" 1 0
F B "offsetofbit" 2 2
F B "enable_interrupts" 1 0
F B "disable_interrupts" 1 0
F B "interrupt_active" 1 0
F B "clear_interrupt" 1 0
F B "jump_to_isr" 1 0
F B "ext_int_edge" 1 2
F B "read_eeprom" 1 0
F B "write_eeprom" 2 0
F B "read_program_eeprom" 1 0
F B "write_program_eeprom" 2 0
F B "write_program_memory" 4 0
F B "write_program_memory8" 4 0
F B "read_program_memory" 4 0
F B "read_program_memory8" 4 0
F B "erase_program_eeprom" 1 0
F B "strcpy" 2 0
F B "memcpy" 3 0
F B "strstr100" 2 0
F B "output_high" 1 0
F B "output_low" 1 0
F B "input" 1 0
F B "input_state" 1 0
F B "output_float" 1 0
F B "output_drive" 1 0
F B "output_bit" 1 1
F B "output_toggle" 1 0
F B "output_a" 1 0
F B "output_b" 1 0
F B "output_c" 1 0
F B "output_d" 1 0
F B "output_e" 1 0
F B "input_a" 0 0
F B "input_b" 0 0
F B "input_c" 0 0
F B "input_d" 0 0
F B "input_e" 0 0
F B "set_tris_a" 1 0
F B "set_tris_b" 1 0
F B "set_tris_c" 1 0
F B "set_tris_d" 1 0
F B "set_tris_e" 1 0
F B "get_tris_a" 0 0
F B "get_tris_b" 0 0
F B "get_tris_c" 0 0
F B "get_tris_d" 0 0
F B "get_tris_e" 0 0
F B "input_change_a" 0 0
F B "input_change_b" 0 0
F B "input_change_c" 0 0
F B "input_change_d" 0 0
F B "input_change_e" 0 0
F B "port_b_pullups" 1 0
F B "setup_counters" 2 0
F B "setup_wdt" 1 0
F B "restart_cause" 0 0
F B "restart_wdt" 0 0
F B "get_rtcc" 0 0
F B "set_rtcc" 1 0
F B "get_timer0" 0 0
F B "set_timer0" 1 0
F B "setup_comparator" 1 0
F B "setup_port_a" 1 0
F B "setup_adc_ports" 1 0
F B "setup_adc" 1 0
F B "set_adc_channel" 1 0
F B "read_adc" 0 1
F B "adc_done" 0 0
F B "setup_timer_0" 1 0
F B "setup_vref" 1 0
F B "setup_timer_1" 1 0
F B "get_timer1" 0 0
F B "set_timer1" 1 0
F B "setup_timer_2" 3 0
F B "get_timer2" 0 0
F B "set_timer2" 1 0
F B "setup_ccp1" 1 2
F B "set_pwm1_duty" 1 0
F B "setup_ccp2" 1 0
F B "set_pwm2_duty" 1 0
F B "setup_oscillator" 1 2
F B "setup_spi" 1 0
F B "spi_read" 0 1
F B "spi_write" 1 0
F B "spi_data_is_in" 0 0
F B "setup_spi2" 1 0
F B "spi_read2" 0 1
F B "spi_write2" 1 0
F B "spi_data_is_in2" 0 0
F B "brownout_enable" 1 0
F B "delay_ms" 1 0
F B "delay_us" 1 0
F B "i2c_read" 0 2
F B "i2c_write" 1 2
F B "i2c_start" 0 2
F B "i2c_stop" 0 1
F B "i2c_isr_state" 0 1
F B "putchar" 1 2
F B "puts" 1 2
F B "getch" 0 1
F B "gets" 1 3
F B "kbhit" 0 1
F B "set_uart_speed" 1 3
F B "setup_uart" 1 3
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.h
0,0 → 1,21
#include <16F887.h>
#device adc=10
 
#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC //Internal RC Osc
#FUSES NOPUT //No Power Up Timer
#FUSES MCLR //Master Clear pin enabled
#FUSES NOPROTECT //Code not protected from reading
#FUSES NOCPD //No EE protection
#FUSES NOBROWNOUT //No brownout reset
#FUSES IESO //Internal External Switch Over mode enabled
#FUSES FCMEN //Fail-safe clock monitor enabled
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES NODEBUG //No Debug mode for ICD
#FUSES NOWRT //Program memory not write protected
#FUSES BORV40 //Brownout reset at 4.0V
 
#use delay(clock=8000000)
#use i2c(master, sda=PIN_C4, scl=PIN_C3)
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
 
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.hex
0,0 → 1,372
:100000000A308A00282A00000A108A100A11820782
:1000100028340C3401340634C732EF26653AB01860
:10002000C1060A00A8312910CB306B36E9352019FA
:10003000B018B3060A00F73B77176D366131AE3161
:10004000FA060A00A8312910CB306B36E9352019A1
:10005000B0183300F73B77176D366131AE317A0057
:10006000831603178C170C140000000083120C0871
:100070007F39031976280313AF0003170D08031304
:10008000B00003170F080313B1002F080C1E4628F9
:100090009900300803178D000313310803178F00F0
:1000A00083168C170C140000000083120C0D0E0D2B
:1000B0007F39031976280313AF0003170D080313C4
:1000C000B00003170F080313B1002F080C1E662899
:1000D0009900300803178D000313310803178F00B0
:1000E0008D0A03198F0A031330280317031308001E
:1000F0003D3084008313000803198B280230F80078
:10010000F701F70B8128F80B80289730F700F70BE1
:100110008728800B7E280800441890280812912810
:100120000816831608128312C41898288812992872
:1001300088168316881283124419A0280813A12850
:100140000817831608138312C419A8288813A9282E
:100150008817831688130000831209148316091068
:10016000B128B228831209108316091083120800DF
:10017000C5018316081600308312081A0130C50421
:100180008316881600308312881A0130F700031096
:10019000F70D7708C5048316081700308312081B73
:1001A0000130F700F70DF70DFC30F7057708C504AF
:1001B0008316881700308312881B0130F700F70D73
:1001C000F70DF70DF830F7057708C5044508F80076
:1001D00008008316091089100911831289108316EB
:1001E00089100816881608178817831209158316B0
:1001F00009110000831209148316091000008312EC
:10020000B8207808C4000910831609100000831272
:100210000914831609100C298312B8207808C3002A
:100220000910831609100812881208138813831204
:10023000440EF700F030F70577084304F80078081B
:10024000C300C31F25298316F128C108031D2A29CD
:1002500089102B2989148316891000008312091133
:1002600083160911000083120910831609108312E6
:10027000420EC3000F30C3054308C4008C2042085F
:100280000F39C300C4008C2008008316081288129E
:100290000813881309108910091183128910831615
:1002A000891083120911831609118312091083160C
:1002B00009100F308312BD0078200130AF002F08E5
:1002C000033C031C6B290330C4008C200530BD00A7
:1002D0007820AF0A5F290230C4008C20AF012F08BC
:1002E000033C031C7C292F080420B000C101300806
:1002F000C200E920AF0A6F2908003E0B802983293C
:100300004030BF008429BF0101303D02BF073F08D4
:100310008038C000C1014008C200E92008003C0844
:10032000073A03199D290B3A0319A229063A031922
:10033000AA29023A0319B029B5290130BD00BE002F
:100340007D21BB29C1010130C200E9200230BD007E
:100350007820BB290130BD000230BE007D21BB29C1
:10036000C1011030C200E920BB290130C1003C08A6
:10037000C200E920BB290800831603178C170C1450
:100380000000000083120C087F390319002A0313B0
:10039000AF0003170D080313B00003170F08031372
:1003A000B1002F08BC008F21300803178D00031304
:1003B000310803178F0083168C170C1400000000FF
:1003C00083120C0D0E0D7F390319002A0313AF00A1
:1003D00003170D080313B00003170F080313B10030
:1003E0002F08BC008F21300803178D00031331083C
:1003F00003178F008D0A03198F0A0313BC290317F3
:10040000031308000830F80000008711A01120082D
:100410008316870000008312B40D0712031C162AEE
:1004200020162008831687001A2A8312201220081B
:100430008316870000008312A0152008831687000A
:100440008312871D212AF80B042A00008711A011AE
:1004500020088316870000008312201620088316C8
:100460008700000000008312A01520088316870073
:100470008312871D392AF8010000071A78148711A2
:10048000A01120088316870083120712201220086B
:1004900083168700831208000830B5007708B6007D
:1004A000201620088316870000008312A01520085C
:1004B000831687008312871D5B2A071A0314071E01
:1004C0000310F80D0000A011200883168700831286
:1004D0008711B50B502A20162008831687000000CC
:1004E00083120712360803197A2A2012200883166D
:1004F000870083120000A01520088316870083124E
:10050000871D802A00008711A0112008831687000C
:10051000000083120712201220088316870083121E
:1005200008008E30F7003508F8003408F900FA01A9
:10053000F808031DA52A7908F800F9010830F70228
:10054000F808031DA52AF701AD2A0310F81BAC2AF1
:10055000F90DF80DF703A52AF81308003808031958
:10056000732BC4003C080319732BC402031CBD2A5F
:100570007F30C4070318732BC32A8130C402031CC5
:10058000732B0319732B4408F700F801F901FA01E2
:10059000C3013908C200C2173A08C1003B08C000B5
:1005A0001930C4003F08C0020318E62A0130C10216
:1005B0000318E62AC2020318E62AC3020318E62A31
:1005C000C30AC20AC10A3F08C007182B3E08C1026D
:1005D0000318012B0130C2020318012BC3020318B8
:1005E000012BC30AC20A3E08C1073F08C007031C0B
:1005F000182BC10A031D182BC20A031D182BC30A8E
:10060000182B3D088038C2020318172B0130C30293
:100610000318172BC30A3D088038C2073E08C107DC
:10062000031CF52AC20A031DF52AC30AF52A7A1407
:10063000C40B1B2B262B0310C00DC10DC20DC30D07
:100640000310FA0DF90DF80DC50DD22A451C2E2BFD
:100650000310F80CF90CFA0CC50C312BF703031935
:10066000732BC51B5A2B0310C00DC10DC20DC30D3A
:100670003F08C0020318462B0130C1020318462B65
:10068000C2020318462BC302031C692B3E08C10299
:100690000318512B0130C2020318512BC302031C53
:1006A000692B3D088038C20203185A2B0130C3025F
:1006B000031C692BFA0A031D692BF90A031D692B18
:1006C000F80A031D692BF70A0319732BF80CF90CB0
:1006D000FA0C3908C4003D08C406C41F712BF81772
:1006E000772BF813772BF701F801F901FA010800CD
:1006F0003C080319E82BC40040080319E82BC40781
:100700000318892B7F30C402031CE82B0319E82B44
:100710008D2B8130C4070318E82B4408F700F8013B
:10072000F901FA013D08C800C8173E08C7003F0894
:10073000C6001830C400C501461CB62B4308FA0792
:10074000031CA82BF90A031DA82BF80A0319C517C7
:100750004208F907031CAF2BF80A0319C517410813
:10076000BE00BE173E08F8070318C517C50DF80CE4
:10077000F90CFA0CC80CC70CC60C0310C40B9B2B4D
:100780000130F7070318E82BF81BCD2BC80DFA0D25
:10079000F90DF80DF7030319E82BC81FDE2BFA0A31
:1007A000031DDE2BF90A031DDE2BF80A031DDE2BC9
:1007B000F80CF90CFA0CF70A0319E82B3D08C500F0
:1007C0004108C506C51FE62BF817EC2BF813EC2BD8
:1007D000F701F801F901FA01080080308318B90621
:1007E000BE01BF013508BD003908BD063408031934
:1007F000DD2CBC00F70038080319E62CBC020319F5
:10080000822C031C402C3908C200C2173A08C100D0
:100810003B08C000BF010310C20CC10CC00CBF0CD0
:10082000BC0B0A2CBD1F172C3E14FA2C3E103C109A
:100830003E163730840083130F2D3E12BD1B2A2C29
:100840003C1C352CC20CC10CC00CBF0CF70A0319A0
:10085000F52C352CC21B382C0310BF0DC00DC10D5B
:10086000C20DF7030319F52C2A2C3E17A22C3E13B8
:100870003508BD00BD1F3E2CC217EE2CC213EE2C56
:100880003808BC00F7003408BC023508C200C217A3
:100890003608C1003708C000BF010310C20CC10CEC
:1008A000C00CBF0CBC0B4C2CBD1F592CBE14FA2C19
:1008B000BE103C10BE163B30840083130F2DBE12B9
:1008C000BD1B6C2C3C1C772CC20CC10CC00CBF0C8B
:1008D000F70A0319F52C772CC21B7A2C0310BF0DD5
:1008E000C00DC10DC20DF7030319F52C6C2CBE17FA
:1008F000A22CBE133908BD00BD1F802CC217EE2CE0
:10090000C213EE2C3908C200C2173A08C1003B08D6
:10091000C000BD1F8F2CC2133E15FA2C3E11BF0123
:100920003C103730840083130F2DBD1BB82C3508C5
:10093000BD003C1CA22CC20CC10CC00CBF0CF70AA1
:100940000319F52CBF1FB32CC00A031DB32CC10A19
:10095000031DB32CC20A031DB32CC20CC10CC00C66
:10096000F70A0319F52C3E1B372CBE1B792CD72C0C
:100970008030C206C21FC02CFA2C3908BD00CD2C15
:100980003508BD00C208031DCD2CC108031DCD2CA8
:10099000C008031DCD2CF701EE2CC21BD72C031071
:1009A000BF0DC00DC10DC20DF70BCD2CF52CBD1F19
:1009B000DB2CC217EE2CC213EE2C3808F7003908D6
:1009C000C2003A08C1003B08C000EE2C3408F70012
:1009D0003508C2003608C1003708C0004208F800D8
:1009E0004108F9004008FA002D2DF701F801F9013E
:1009F000FA012D2DBF01C009C109C209BF09BF0AF3
:100A0000031D082DC00A031D082DC10A0319C20ABF
:100A10003E18162CBE18582C3E198E2CBD2C0008E2
:100A2000C007031C192DC10A031D192DC20A031981
:100A30003C1484030008C107031C212DC20A0319BA
:100A40003C1484030008801F803AC20703183C143A
:100A50003E1A1D2CBE1A5F2C952C0800201620086B
:100A60008316870000008312A015200883168700D4
:100A700000008312871D3A2D0712201220088316CA
:100A80008700000083128711A011200883168700B9
:100A900080308312B4000222E330B400022220121C
:100AA00020088316870000008312A01520088316F3
:100AB00087008312871D5A2D00005E2D000020162E
:100AC000200883168700000064308312BD00782060
:100AD000201620088316870000008312A015200826
:100AE0008316870000008312071220122008831645
:100AF0008700000083128711A01120088316870049
:100B000081308312B40002220130F7004C227808B1
:100B1000AF000130F7004C227808B000F7014C22FA
:100B20007808B10020122008831687000000831285
:100B3000A0152008831687008312871D9D2D0000B5
:100B4000A12D0000201620088316870000008312C4
:100B5000B00CB00C3F30B005B5012F08B400B500A3
:100B6000B401300EF700F030F70577083407B20013
:100B70003508B3000318B30A3308B5003208B400CF
:100B800091227708B4007808B5007908B6007A0891
:100B9000B700BB007908BA007808B9007708B80038
:100BA000BF01FF30BE007F30BD008E30BC00AE22E2
:100BB0005230BF00B830BE002F30BD008630BC00C0
:100BC0007A08C3007908C2007808C1007708C0001D
:100BD000782383106630B700B600BB30B500843090
:100BE000B4007A08BB007908BA007808B900770821
:100BF000B800ED238A150A12E42A2016200883166D
:100C0000870000008312A0152008831687000000CB
:100C10008312071220122008831687000000831217
:100C20008711A01120088316870080308312B4003A
:100C30000222E530B40002226430BD007820201684
:100C400020088316870000008312A0152008831651
:100C5000870000008312871D2B2E07122012200808
:100C600083168700000083128711A01120088316C5
:100C7000870081308312B40002220130F7004C2239
:100C80007808AF000130F7004C227808B000F70177
:100C90004C227808B100201220088316870000003B
:100CA0008312A0152008831687008312871D562EF5
:100CB00000005A2E0000201620088316870000002E
:100CC0008312B00CB00C3F30B005B5012F08B40052
:100CD000B500B401300EF700F030F705770834079F
:100CE000B2003508B3000318B30A3308B500320860
:100CF000B40091227708B4007808B5007908B600EE
:100D00007A08B700BB007908BA007808B9007708FC
:100D1000B800BF01FF30BE007F30BD008E30BC0088
:100D2000AE22BF01BE017A30BD008530BC007A081A
:100D3000C3007908C2007808C1007708C000782392
:100D40008310B701B601C030B5008130B4007A0815
:100D5000BB007908BA007808B9007708B800ED231D
:100D60008A150A12EF2A2016200883168700000031
:100D70008312A01520088316870000008312071233
:100D80002012200883168700000083128711A0110B
:100D900020088316870090308312B4000222B40129
:100DA0000222201220088316870000008312A0155B
:100DB0002008831687008312871DDC2E0000E02E9A
:100DC00000002016200883168700000083122016DA
:100DD00020088316870000008312A01520088316C0
:100DE0008700000083120712201220088316870054
:100DF000000083128711A01120088316870091300C
:100E00008312B40002220130F7004C227808AF00B0
:100E1000F7014C227808B0002012200883168700C2
:100E200000008312A0152008831687008312871DF7
:100E3000172F00001B2F00002016200883168700A4
:100E4000000083122F08B2003008B1003208B4004D
:100E50003108B3003408B6003308B5008E30F7000F
:100E60003608F8003508F900FA01B61F3C2FF809DA
:100E7000F909F90A0319F80AF808031D492F790836
:100E8000F800F9010830F702F808031D492FF701AF
:100E9000522F0310F81B502FF90DF80DF703492FAF
:100EA000B61FF8137A08BF007908BE007808BD00A5
:100EB0007708BC00C301C201C1017730C0007823AC
:100EC0008A150A12FA2A3C08B63CBC00FA013D0811
:100ED000C000BD170310BD0CBE0CBF0CFA0CF90C02
:100EE000F80CF70CBC0B6A2FC01F812FF709F8090B
:100EF000F909FA09F70A0319F80A0319F90A031993
:100F0000FA0A0800F701F801F901FA01C401C50164
:100F1000C601C70143084204410440040319C02F1D
:100F20002030C8000310BC0DBD0DBE0DBF0DC40D9B
:100F3000C50DC60DC70D43084702031DA92F420862
:100F40004602031DA92F41084502031DA92F400891
:100F50004402031CBA2F4008C4024108031C410F7D
:100F6000C5024208031C420FC6024308031C430F7C
:100F7000C7020314F70DF80DF90DFA0DC80B922FE7
:080F80004430840083130800D3
:101000000408B4003308B600031921283208BF00D1
:101010003108BE003008BD002F08BC00C301C2016A
:101020002030C1008230C0008A1178238A157A08E6
:10103000B2007908B1007808B0007708AF00B60BAD
:1010400006283208BF003108BE003008BD002F0856
:10105000BC008A1163278A157A08B2007908B100AA
:101060007808B0007708AF00B21F4328B403B41665
:10107000AF09B009B109B209AF0A0319B00A0319DF
:10108000B10A0319B20A3B30BB009A30BA00CA3029
:10109000B900B8010A30B60033080319B40A32089F
:1010A000BF003108BE003008BD002F08BC003B085F
:1010B000C3003A08C2003908C1003808C0008A11CC
:1010C00082278A150008AF00840A0008B000840A4D
:1010D0000008B100840A0008B200FD308407F70858
:1010E000031D8528330A360203198528340803199D
:1010F00087280F39360203197F280318BF28B41B2D
:10110000BF28341B87282030B9282030B405B41EEE
:101110009728B4123308031DB4037708B4002D30A8
:10112000BC008A118F218A153408F700B4013308F6
:101130003602031DA7287708B4002E30BC008A11A0
:101140008F218A153408F7002030B4050030303084
:10115000B41EB928B4123308031DB4037708B400D1
:101160002D30BC008A118F218A153408F700B40194
:101170003030F7077708BC008A118F218A153B08A9
:10118000BF003A08BE003908BD003808BC00C301E2
:10119000C201C1010A30C0008A1182278A157A086B
:1011A000BB007908BA007808B9007708B800B60B18
:1011B0004F280800B7010408B6003710831B371406
:1011C000B01FEA28B617361EB60AAF09B009AF0A33
:1011D0000319B00A300EF038B200B207E23EB30095
:1011E000323EB50030080F39B307B307B507E93E03
:1011F000B400B407B4072F0E0F39B407B507B40D08
:10120000B50DB509B50D2F080F39B507B20D07306B
:10121000B1000A30B507B403031C0A29B407B303AD
:10122000031C0E29B307B203031C1229B207B10332
:10123000031C16293130840083130730360536131A
:1012400084033605031D2B29361A840A361A2B29E6
:101250002030F70048298407353004020319361777
:101260000008F700031D3C29361B3C29361A4C297F
:10127000B6193C2920304729B61F44292D30F700E4
:1012800084033613B6134829B61536123030F707E3
:1012900077080C1E49299900840A361F2C298A15C3
:1012A0000A126F2B0408B4003308B600031973291F
:1012B0003208BF003108BE003008BD002F08BC0056
:1012C000C301C2012030C1008230C0008A117823DE
:1012D0008A157A08B2007908B1007808B00077085A
:1012E000AF00B60B58293208BF003108BE003008E5
:1012F000BD002F08BC008A1163278A157A08B20046
:101300007908B1007808B0007708AF00B21F9529BE
:10131000B403B416AF09B009B109B209AF0A031991
:10132000B00A0319B10A0319B20A3B30BB009A3064
:10133000BA00CA30B900B8010A30B6003308031940
:10134000B40A3208BF003108BE003008BD002F08C3
:10135000BC003B08C3003A08C2003908C100380885
:10136000C0008A1182278A150008AF00840A00088D
:10137000B000840A0008B100840A0008B200FD3001
:101380008407F708031DD729330A36020319D72922
:1013900034080319D9290F3936020319D129031842
:1013A0000D2AB41B0D2A341BD9292030082A2030DD
:1013B000B405B41EE829B4123308031DB40377083A
:1013C000B4002D300C1EE22999003408F700B40156
:1013D00033083602031DF7297708B4002E300C1E9F
:1013E000EF2999003408F7002030B4050030303080
:1013F000B41E082AB4123308031DB4037708B400DE
:101400002D300C1E012A99003408F700B401303049
:10141000F70777080C1E0A2A99003B08BF003A0814
:10142000BE003908BD003808BC00C301C201C101BB
:101430000A30C0008A1182278A157A08BB00790811
:10144000BA007808B9007708B800B60BA1290800DF
:10145000840183131F308305713083168F000F08BA
:10146000031787110C3003139900A23098009030B5
:1014700083129800831603170908C03989000313E3
:101480001F129F1200300317880083128701880102
:101490008901FF300313A000AE01AD0183160317CD
:1014A0000908C039890003131F129F120030031767
:1014B0008800831203131F139F1383169F17831231
:1014C0001F149412A012200883168700831220167E
:1014D0002008831687008312A01120088316870036
:1014E0000130831294000030831694000108C7393C
:1014F00008388100831290010030F800920000301B
:101500008316920083122015200883168700831209
:10151000970183169B019C0101309D0083120317E4
:101520008701880189017130831603138F000F082A
:101530000C30831203178D0000308F008A110313C3
:1015400030208A15123003178D0000308F008A1169
:10155000031330208A151B3003178D0000308F00D5
:101560008A11031330208A158A1145218A152230E9
:1015700003178D0000308F008A110313BC218A15D8
:101580000330BD000230BE008A117D218A152A3049
:1015900003178D0000308F008A110313BC218A15B8
:1015A0000830AF00FA30BD008A1178208A15AF0BE1
:1015B000D22A8A1145218A150130BD00BE008A1148
:1015C0007D218A158A112E2D8A157A08A4007908A2
:1015D000A3007808A2007708A1008A11FD2D8A15C2
:1015E0007A08AC007908AB007808AA007708A9004F
:1015F0008A11B32E8A157A08A8007908A7007808FE
:10160000A6007708A500893084002408B2002308CA
:10161000B1002208B0002108AF000230B300002062
:101620002030BC008A118F218A154330BC008A11FA
:101630008F218A152030BC008A118F218A158930AC
:1016400084002C08B2002B08B1002A08B000290839
:10165000AF000230B30000202030BC008A118F217F
:101660008A152530BC008A118F218A152030BC00D4
:101670008A118F218A150D30BC008A118F218A159D
:101680000A30BC008A118F218A150130BD0002305A
:10169000BE008A117D218A152030BC008A118F215D
:1016A0008A15893084002808B2002708B10026086E
:1016B000B0002508AF000230B30000202030BC008D
:1016C0008A118F218A154330BC008A118F218A1517
:1016D000103084002E08B0002D08AF00DA2820302A
:1016E0000C1E702B9900893084002408B200230856
:1016F000B1002208B0002108AF000230B30052212F
:1017000020300C1E812B9900893084002C08B200F7
:101710002B08B1002A08B0002908AF000230B3003E
:10172000522120300C1E922B990089308400280809
:10173000B2002708B1002608B0002508AF0002302B
:10174000B300522120300C1EA32B99000D300C1E2B
:10175000A72B99000A300C1EAB2B9900AD0A031978
:10176000AE0A6430BD008A1178208A15DC2A630035
:04400E00F52CFF3F4F
:00000001FF
;PIC16F887
;CRC=D341 CREATED="26-VIII-13 19:04"
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.lst
0,0 → 1,2050
CCS PCM C Compiler, Version 4.106, 47914 26-VIII-13 19:04
 
Filename: Z:\home\kaklik\svnMLAB\Designs\Measuring_instruments\GeoMet01A\SW\PIC16F887\main.lst
 
ROM used: 2940 words (36%)
Largest free fragment is 2048
RAM used: 21 (6%) at main() level
46 (12%) worst case
Stack: 5 locations
 
*
0000: MOVLW 0A
0001: MOVWF 0A
0002: GOTO 228
0003: NOP
.................... #include "main.h"
.................... #include <16F887.h>
.................... //////// Standard Header file for the PIC16F887 device ////////////////
.................... #device PIC16F887
.................... #list
....................
.................... #device adc=10
....................
.................... #FUSES NOWDT //No Watch Dog Timer
.................... #FUSES INTRC //Internal RC Osc
.................... #FUSES NOPUT //No Power Up Timer
.................... #FUSES MCLR //Master Clear pin enabled
.................... #FUSES NOPROTECT //Code not protected from reading
.................... #FUSES NOCPD //No EE protection
.................... #FUSES NOBROWNOUT //No brownout reset
.................... #FUSES IESO //Internal External Switch Over mode enabled
.................... #FUSES FCMEN //Fail-safe clock monitor enabled
.................... #FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
.................... #FUSES NODEBUG //No Debug mode for ICD
.................... #FUSES NOWRT //Program memory not write protected
.................... #FUSES BORV40 //Brownout reset at 4.0V
....................
.................... #use delay(clock=8000000)
*
0078: MOVLW 3D
0079: MOVWF 04
007A: BCF 03.7
007B: MOVF 00,W
007C: BTFSC 03.2
007D: GOTO 08B
007E: MOVLW 02
007F: MOVWF 78
0080: CLRF 77
0081: DECFSZ 77,F
0082: GOTO 081
0083: DECFSZ 78,F
0084: GOTO 080
0085: MOVLW 97
0086: MOVWF 77
0087: DECFSZ 77,F
0088: GOTO 087
0089: DECFSZ 00,F
008A: GOTO 07E
008B: RETURN
.................... #use i2c(master, sda=PIN_C4, scl=PIN_C3)
*
0202: MOVLW 08
0203: MOVWF 78
0204: NOP
0205: BCF 07.3
0206: BCF 20.3
0207: MOVF 20,W
0208: BSF 03.5
0209: MOVWF 07
020A: NOP
020B: BCF 03.5
020C: RLF 34,F
020D: BCF 07.4
020E: BTFSS 03.0
020F: GOTO 216
0210: BSF 20.4
0211: MOVF 20,W
0212: BSF 03.5
0213: MOVWF 07
0214: GOTO 21A
0215: BCF 03.5
0216: BCF 20.4
0217: MOVF 20,W
0218: BSF 03.5
0219: MOVWF 07
021A: NOP
021B: BCF 03.5
021C: BSF 20.3
021D: MOVF 20,W
021E: BSF 03.5
021F: MOVWF 07
0220: BCF 03.5
0221: BTFSS 07.3
0222: GOTO 221
0223: DECFSZ 78,F
0224: GOTO 204
0225: NOP
0226: BCF 07.3
0227: BCF 20.3
0228: MOVF 20,W
0229: BSF 03.5
022A: MOVWF 07
022B: NOP
022C: BCF 03.5
022D: BSF 20.4
022E: MOVF 20,W
022F: BSF 03.5
0230: MOVWF 07
0231: NOP
0232: NOP
0233: BCF 03.5
0234: BSF 20.3
0235: MOVF 20,W
0236: BSF 03.5
0237: MOVWF 07
0238: BCF 03.5
0239: BTFSS 07.3
023A: GOTO 239
023B: CLRF 78
023C: NOP
023D: BTFSC 07.4
023E: BSF 78.0
023F: BCF 07.3
0240: BCF 20.3
0241: MOVF 20,W
0242: BSF 03.5
0243: MOVWF 07
0244: BCF 03.5
0245: BCF 07.4
0246: BCF 20.4
0247: MOVF 20,W
0248: BSF 03.5
0249: MOVWF 07
024A: BCF 03.5
024B: RETURN
024C: MOVLW 08
024D: MOVWF 35
024E: MOVF 77,W
024F: MOVWF 36
0250: BSF 20.4
0251: MOVF 20,W
0252: BSF 03.5
0253: MOVWF 07
0254: NOP
0255: BCF 03.5
0256: BSF 20.3
0257: MOVF 20,W
0258: BSF 03.5
0259: MOVWF 07
025A: BCF 03.5
025B: BTFSS 07.3
025C: GOTO 25B
025D: BTFSC 07.4
025E: BSF 03.0
025F: BTFSS 07.4
0260: BCF 03.0
0261: RLF 78,F
0262: NOP
0263: BCF 20.3
0264: MOVF 20,W
0265: BSF 03.5
0266: MOVWF 07
0267: BCF 03.5
0268: BCF 07.3
0269: DECFSZ 35,F
026A: GOTO 250
026B: BSF 20.4
026C: MOVF 20,W
026D: BSF 03.5
026E: MOVWF 07
026F: NOP
0270: BCF 03.5
0271: BCF 07.4
0272: MOVF 36,W
0273: BTFSC 03.2
0274: GOTO 27A
0275: BCF 20.4
0276: MOVF 20,W
0277: BSF 03.5
0278: MOVWF 07
0279: BCF 03.5
027A: NOP
027B: BSF 20.3
027C: MOVF 20,W
027D: BSF 03.5
027E: MOVWF 07
027F: BCF 03.5
0280: BTFSS 07.3
0281: GOTO 280
0282: NOP
0283: BCF 07.3
0284: BCF 20.3
0285: MOVF 20,W
0286: BSF 03.5
0287: MOVWF 07
0288: NOP
0289: BCF 03.5
028A: BCF 07.4
028B: BCF 20.4
028C: MOVF 20,W
028D: BSF 03.5
028E: MOVWF 07
028F: BCF 03.5
0290: RETURN
.................... #use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
....................
....................
....................
.................... #define LCD_ENABLE_PIN PIN_E0 ////
.................... #define LCD_RS_PIN PIN_E1 ////
.................... #define LCD_RW_PIN PIN_E2 ////
.................... #define LCD_DATA4 PIN_D4 ////
.................... #define LCD_DATA5 PIN_D5 ////
.................... #define LCD_DATA6 PIN_D6 ////
.................... #define LCD_DATA7 PIN_D7
.................... #include <lcd.c>
.................... ///////////////////////////////////////////////////////////////////////////////
.................... //// LCD.C ////
.................... //// Driver for common LCD modules ////
.................... //// ////
.................... //// lcd_init() Must be called before any other function. ////
.................... //// ////
.................... //// lcd_putc(c) Will display c on the next position of the LCD. ////
.................... //// \a Set cursor position to upper left ////
.................... //// \f Clear display, set cursor to upper left ////
.................... //// \n Go to start of second line ////
.................... //// \b Move back one position ////
.................... //// If LCD_EXTENDED_NEWLINE is defined, the \n character ////
.................... //// will erase all remanining characters on the current ////
.................... //// line, and move the cursor to the beginning of the next ////
.................... //// line. ////
.................... //// If LCD_EXTENDED_NEWLINE is defined, the \r character ////
.................... //// will move the cursor to the start of the current ////
.................... //// line. ////
.................... //// ////
.................... //// lcd_gotoxy(x,y) Set write position on LCD (upper left is 1,1) ////
.................... //// ////
.................... //// lcd_getc(x,y) Returns character at position x,y on LCD ////
.................... //// ////
.................... //// CONFIGURATION ////
.................... //// The LCD can be configured in one of two ways: a.) port access or ////
.................... //// b.) pin access. Port access requires the entire 7 bit interface ////
.................... //// connected to one GPIO port, and the data bits (D4:D7 of the LCD) ////
.................... //// connected to sequential pins on the GPIO. Pin access ////
.................... //// has no requirements, all 7 bits of the control interface can ////
.................... //// can be connected to any GPIO using several ports. ////
.................... //// ////
.................... //// To use port access, #define LCD_DATA_PORT to the SFR location of ////
.................... //// of the GPIO port that holds the interface, -AND- edit LCD_PIN_MAP ////
.................... //// of this file to configure the pin order. If you are using a ////
.................... //// baseline PIC (PCB), then LCD_OUTPUT_MAP and LCD_INPUT_MAP also must ////
.................... //// be defined. ////
.................... //// ////
.................... //// Example of port access: ////
.................... //// #define LCD_DATA_PORT getenv("SFR:PORTD") ////
.................... //// ////
.................... //// To use pin access, the following pins must be defined: ////
.................... //// LCD_ENABLE_PIN ////
.................... //// LCD_RS_PIN ////
.................... //// LCD_RW_PIN ////
.................... //// LCD_DATA4 ////
.................... //// LCD_DATA5 ////
.................... //// LCD_DATA6 ////
.................... //// LCD_DATA7 ////
.................... //// ////
.................... //// Example of pin access: ////
.................... //// #define LCD_ENABLE_PIN PIN_E0 ////
.................... //// #define LCD_RS_PIN PIN_E1 ////
.................... //// #define LCD_RW_PIN PIN_E2 ////
.................... //// #define LCD_DATA4 PIN_D4 ////
.................... //// #define LCD_DATA5 PIN_D5 ////
.................... //// #define LCD_DATA6 PIN_D6 ////
.................... //// #define LCD_DATA7 PIN_D7 ////
.................... //// ////
.................... ///////////////////////////////////////////////////////////////////////////////
.................... //// (C) Copyright 1996,2010 Custom Computer Services ////
.................... //// This source code may only be used by licensed users of the CCS C ////
.................... //// compiler. This source code may only be distributed to other ////
.................... //// licensed users of the CCS C compiler. No other use, reproduction ////
.................... //// or distribution is permitted without written permission. ////
.................... //// Derivative programs created using this software in object code ////
.................... //// form are not restricted in any way. ////
.................... ///////////////////////////////////////////////////////////////////////////
....................
.................... // define the pinout.
.................... // only required if port access is being used.
.................... typedef struct
.................... { // This structure is overlayed
.................... BOOLEAN enable; // on to an I/O port to gain
.................... BOOLEAN rs; // access to the LCD pins.
.................... BOOLEAN rw; // The bits are allocated from
.................... BOOLEAN unused; // low order up. ENABLE will
.................... int data : 4; // be LSB pin of that port.
.................... #if defined(__PCD__) // The port used will be LCD_DATA_PORT.
.................... int reserved: 8;
.................... #endif
.................... } LCD_PIN_MAP;
....................
.................... // this is to improve compatability with previous LCD drivers that accepted
.................... // a define labeled 'use_portb_lcd' that configured the LCD onto port B.
.................... #if ((defined(use_portb_lcd)) && (use_portb_lcd==TRUE))
.................... #define LCD_DATA_PORT getenv("SFR:PORTB")
.................... #endif
....................
.................... #if defined(__PCB__)
.................... // these definitions only need to be modified for baseline PICs.
.................... // all other PICs use LCD_PIN_MAP or individual LCD_xxx pin definitions.
.................... /* EN, RS, RW, UNUSED, DATA */
.................... const LCD_PIN_MAP LCD_OUTPUT_MAP = {0, 0, 0, 0, 0};
.................... const LCD_PIN_MAP LCD_INPUT_MAP = {0, 0, 0, 0, 0xF};
.................... #endif
....................
.................... ////////////////////// END CONFIGURATION ///////////////////////////////////
....................
.................... #ifndef LCD_ENABLE_PIN
.................... #define lcd_output_enable(x) lcdlat.enable=x
.................... #define lcd_enable_tris() lcdtris.enable=0
.................... #else
.................... #define lcd_output_enable(x) output_bit(LCD_ENABLE_PIN, x)
.................... #define lcd_enable_tris() output_drive(LCD_ENABLE_PIN)
.................... #endif
....................
.................... #ifndef LCD_RS_PIN
.................... #define lcd_output_rs(x) lcdlat.rs=x
.................... #define lcd_rs_tris() lcdtris.rs=0
.................... #else
.................... #define lcd_output_rs(x) output_bit(LCD_RS_PIN, x)
.................... #define lcd_rs_tris() output_drive(LCD_RS_PIN)
.................... #endif
....................
.................... #ifndef LCD_RW_PIN
.................... #define lcd_output_rw(x) lcdlat.rw=x
.................... #define lcd_rw_tris() lcdtris.rw=0
.................... #else
.................... #define lcd_output_rw(x) output_bit(LCD_RW_PIN, x)
.................... #define lcd_rw_tris() output_drive(LCD_RW_PIN)
.................... #endif
....................
.................... // original version of this library incorrectly labeled LCD_DATA0 as LCD_DATA4,
.................... // LCD_DATA1 as LCD_DATA5, and so on. this block of code makes the driver
.................... // compatible with any code written for the original library
.................... #if (defined(LCD_DATA0) && defined(LCD_DATA1) && defined(LCD_DATA2) && defined(LCD_DATA3) && !defined(LCD_DATA4) && !defined(LCD_DATA5) && !defined(LCD_DATA6) && !defined(LCD_DATA7))
.................... #define LCD_DATA4 LCD_DATA0
.................... #define LCD_DATA5 LCD_DATA1
.................... #define LCD_DATA6 LCD_DATA2
.................... #define LCD_DATA7 LCD_DATA3
.................... #endif
....................
.................... #ifndef LCD_DATA4
.................... #ifndef LCD_DATA_PORT
.................... #if defined(__PCB__)
.................... #define LCD_DATA_PORT 0x06 //portb
.................... #define set_tris_lcd(x) set_tris_b(x)
.................... #else
.................... #if defined(PIN_D0)
.................... #define LCD_DATA_PORT getenv("SFR:PORTD") //portd
.................... #else
.................... #define LCD_DATA_PORT getenv("SFR:PORTB") //portb
.................... #endif
.................... #endif
.................... #endif
....................
.................... #if defined(__PCB__)
.................... LCD_PIN_MAP lcd, lcdlat;
.................... #byte lcd = LCD_DATA_PORT
.................... #byte lcdlat = LCD_DATA_PORT
.................... #elif defined(__PCM__)
.................... LCD_PIN_MAP lcd, lcdlat, lcdtris;
.................... #byte lcd = LCD_DATA_PORT
.................... #byte lcdlat = LCD_DATA_PORT
.................... #byte lcdtris = LCD_DATA_PORT+0x80
.................... #elif defined(__PCH__)
.................... LCD_PIN_MAP lcd, lcdlat, lcdtris;
.................... #byte lcd = LCD_DATA_PORT
.................... #byte lcdlat = LCD_DATA_PORT+9
.................... #byte lcdtris = LCD_DATA_PORT+0x12
.................... #elif defined(__PCD__)
.................... LCD_PIN_MAP lcd, lcdlat, lcdtris;
.................... #word lcd = LCD_DATA_PORT
.................... #word lcdlat = LCD_DATA_PORT+2
.................... #word lcdtris = LCD_DATA_PORT-0x02
.................... #endif
.................... #endif //LCD_DATA4 not defined
....................
.................... #ifndef LCD_TYPE
.................... #define LCD_TYPE 2 // 0=5x7, 1=5x10, 2=2 lines
.................... #endif
....................
.................... #ifndef LCD_LINE_TWO
.................... #define LCD_LINE_TWO 0x40 // LCD RAM address for the second line
.................... #endif
....................
.................... #ifndef LCD_LINE_LENGTH
.................... #define LCD_LINE_LENGTH 20
.................... #endif
....................
.................... BYTE const LCD_INIT_STRING[4] = {0x20 | (LCD_TYPE << 2), 0xc, 1, 6};
.................... // These bytes need to be sent to the LCD
.................... // to start it up.
....................
.................... BYTE lcd_read_nibble(void);
....................
.................... BYTE lcd_read_byte(void)
.................... {
.................... BYTE low,high;
....................
.................... #if defined(__PCB__)
.................... set_tris_lcd(LCD_INPUT_MAP);
.................... #else
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
.................... output_float(LCD_DATA4);
*
00F1: BSF 08.4
.................... output_float(LCD_DATA5);
00F2: BSF 08.5
.................... output_float(LCD_DATA6);
00F3: BSF 08.6
.................... output_float(LCD_DATA7);
00F4: BSF 08.7
.................... #else
.................... lcdtris.data = 0xF;
.................... #endif
.................... #endif
....................
.................... lcd_output_rw(1);
00F5: BCF 03.5
00F6: BSF 09.2
00F7: BSF 03.5
00F8: BCF 09.2
.................... delay_cycles(1);
00F9: NOP
.................... lcd_output_enable(1);
00FA: BCF 03.5
00FB: BSF 09.0
00FC: BSF 03.5
00FD: BCF 09.0
.................... delay_cycles(1);
00FE: NOP
.................... high = lcd_read_nibble();
00FF: BCF 03.5
0100: CALL 0B8
0101: MOVF 78,W
0102: MOVWF 44
....................
.................... lcd_output_enable(0);
0103: BCF 09.0
0104: BSF 03.5
0105: BCF 09.0
.................... delay_cycles(1);
0106: NOP
.................... lcd_output_enable(1);
0107: BCF 03.5
0108: BSF 09.0
0109: BSF 03.5
010A: BCF 09.0
.................... delay_us(1);
010B: GOTO 10C
.................... low = lcd_read_nibble();
010C: BCF 03.5
010D: CALL 0B8
010E: MOVF 78,W
010F: MOVWF 43
....................
.................... lcd_output_enable(0);
0110: BCF 09.0
0111: BSF 03.5
0112: BCF 09.0
....................
.................... #if defined(__PCB__)
.................... set_tris_lcd(LCD_OUTPUT_MAP);
.................... #else
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
.................... output_drive(LCD_DATA4);
0113: BCF 08.4
.................... output_drive(LCD_DATA5);
0114: BCF 08.5
.................... output_drive(LCD_DATA6);
0115: BCF 08.6
.................... output_drive(LCD_DATA7);
0116: BCF 08.7
.................... #else
.................... lcdtris.data = 0x0;
.................... #endif
.................... #endif
....................
.................... return( (high<<4) | low);
0117: BCF 03.5
0118: SWAPF 44,W
0119: MOVWF 77
011A: MOVLW F0
011B: ANDWF 77,F
011C: MOVF 77,W
011D: IORWF 43,W
011E: MOVWF 78
.................... }
....................
.................... BYTE lcd_read_nibble(void)
.................... {
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
*
00B8: CLRF 45
.................... BYTE n = 0x00;
....................
.................... /* Read the data port */
.................... n |= input(LCD_DATA4);
00B9: BSF 03.5
00BA: BSF 08.4
00BB: MOVLW 00
00BC: BCF 03.5
00BD: BTFSC 08.4
00BE: MOVLW 01
00BF: IORWF 45,F
.................... n |= input(LCD_DATA5) << 1;
00C0: BSF 03.5
00C1: BSF 08.5
00C2: MOVLW 00
00C3: BCF 03.5
00C4: BTFSC 08.5
00C5: MOVLW 01
00C6: MOVWF 77
00C7: BCF 03.0
00C8: RLF 77,F
00C9: MOVF 77,W
00CA: IORWF 45,F
.................... n |= input(LCD_DATA6) << 2;
00CB: BSF 03.5
00CC: BSF 08.6
00CD: MOVLW 00
00CE: BCF 03.5
00CF: BTFSC 08.6
00D0: MOVLW 01
00D1: MOVWF 77
00D2: RLF 77,F
00D3: RLF 77,F
00D4: MOVLW FC
00D5: ANDWF 77,F
00D6: MOVF 77,W
00D7: IORWF 45,F
.................... n |= input(LCD_DATA7) << 3;
00D8: BSF 03.5
00D9: BSF 08.7
00DA: MOVLW 00
00DB: BCF 03.5
00DC: BTFSC 08.7
00DD: MOVLW 01
00DE: MOVWF 77
00DF: RLF 77,F
00E0: RLF 77,F
00E1: RLF 77,F
00E2: MOVLW F8
00E3: ANDWF 77,F
00E4: MOVF 77,W
00E5: IORWF 45,F
....................
.................... return(n);
00E6: MOVF 45,W
00E7: MOVWF 78
.................... #else
.................... return(lcd.data);
.................... #endif
.................... }
00E8: RETURN
....................
.................... void lcd_send_nibble(BYTE n)
.................... {
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
.................... /* Write to the data port */
.................... output_bit(LCD_DATA4, bit_test(n, 0));
*
008C: BTFSC 44.0
008D: GOTO 090
008E: BCF 08.4
008F: GOTO 091
0090: BSF 08.4
0091: BSF 03.5
0092: BCF 08.4
.................... output_bit(LCD_DATA5, bit_test(n, 1));
0093: BCF 03.5
0094: BTFSC 44.1
0095: GOTO 098
0096: BCF 08.5
0097: GOTO 099
0098: BSF 08.5
0099: BSF 03.5
009A: BCF 08.5
.................... output_bit(LCD_DATA6, bit_test(n, 2));
009B: BCF 03.5
009C: BTFSC 44.2
009D: GOTO 0A0
009E: BCF 08.6
009F: GOTO 0A1
00A0: BSF 08.6
00A1: BSF 03.5
00A2: BCF 08.6
.................... output_bit(LCD_DATA7, bit_test(n, 3));
00A3: BCF 03.5
00A4: BTFSC 44.3
00A5: GOTO 0A8
00A6: BCF 08.7
00A7: GOTO 0A9
00A8: BSF 08.7
00A9: BSF 03.5
00AA: BCF 08.7
.................... #else
.................... lcdlat.data = n;
.................... #endif
....................
.................... delay_cycles(1);
00AB: NOP
.................... lcd_output_enable(1);
00AC: BCF 03.5
00AD: BSF 09.0
00AE: BSF 03.5
00AF: BCF 09.0
.................... delay_us(2);
00B0: GOTO 0B1
00B1: GOTO 0B2
.................... lcd_output_enable(0);
00B2: BCF 03.5
00B3: BCF 09.0
00B4: BSF 03.5
00B5: BCF 09.0
.................... }
00B6: BCF 03.5
00B7: RETURN
....................
.................... void lcd_send_byte(BYTE address, BYTE n)
.................... {
.................... #if defined(__PCB__)
.................... set_tris_lcd(LCD_OUTPUT_MAP);
.................... #else
.................... lcd_enable_tris();
*
00E9: BSF 03.5
00EA: BCF 09.0
.................... lcd_rs_tris();
00EB: BCF 09.1
.................... lcd_rw_tris();
00EC: BCF 09.2
.................... #endif
....................
.................... lcd_output_rs(0);
00ED: BCF 03.5
00EE: BCF 09.1
00EF: BSF 03.5
00F0: BCF 09.1
.................... while ( bit_test(lcd_read_byte(),7) ) ;
*
011F: MOVF 78,W
0120: MOVWF 43
0121: BTFSS 43.7
0122: GOTO 125
0123: BSF 03.5
0124: GOTO 0F1
.................... lcd_output_rs(address);
0125: MOVF 41,F
0126: BTFSS 03.2
0127: GOTO 12A
0128: BCF 09.1
0129: GOTO 12B
012A: BSF 09.1
012B: BSF 03.5
012C: BCF 09.1
.................... delay_cycles(1);
012D: NOP
.................... lcd_output_rw(0);
012E: BCF 03.5
012F: BCF 09.2
0130: BSF 03.5
0131: BCF 09.2
.................... delay_cycles(1);
0132: NOP
.................... lcd_output_enable(0);
0133: BCF 03.5
0134: BCF 09.0
0135: BSF 03.5
0136: BCF 09.0
.................... lcd_send_nibble(n >> 4);
0137: BCF 03.5
0138: SWAPF 42,W
0139: MOVWF 43
013A: MOVLW 0F
013B: ANDWF 43,F
013C: MOVF 43,W
013D: MOVWF 44
013E: CALL 08C
.................... lcd_send_nibble(n & 0xf);
013F: MOVF 42,W
0140: ANDLW 0F
0141: MOVWF 43
0142: MOVWF 44
0143: CALL 08C
.................... }
0144: RETURN
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... unsigned int8 g_LcdX, g_LcdY;
.................... #endif
....................
.................... void lcd_init(void)
.................... {
.................... BYTE i;
....................
.................... #if defined(__PCB__)
.................... set_tris_lcd(LCD_OUTPUT_MAP);
.................... #else
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
.................... output_drive(LCD_DATA4);
0145: BSF 03.5
0146: BCF 08.4
.................... output_drive(LCD_DATA5);
0147: BCF 08.5
.................... output_drive(LCD_DATA6);
0148: BCF 08.6
.................... output_drive(LCD_DATA7);
0149: BCF 08.7
.................... #else
.................... lcdtris.data = 0x0;
.................... #endif
.................... lcd_enable_tris();
014A: BCF 09.0
.................... lcd_rs_tris();
014B: BCF 09.1
.................... lcd_rw_tris();
014C: BCF 09.2
.................... #endif
....................
.................... lcd_output_rs(0);
014D: BCF 03.5
014E: BCF 09.1
014F: BSF 03.5
0150: BCF 09.1
.................... lcd_output_rw(0);
0151: BCF 03.5
0152: BCF 09.2
0153: BSF 03.5
0154: BCF 09.2
.................... lcd_output_enable(0);
0155: BCF 03.5
0156: BCF 09.0
0157: BSF 03.5
0158: BCF 09.0
....................
.................... delay_ms(15);
0159: MOVLW 0F
015A: BCF 03.5
015B: MOVWF 3D
015C: CALL 078
.................... for(i=1;i<=3;++i)
015D: MOVLW 01
015E: MOVWF 2F
015F: MOVF 2F,W
0160: SUBLW 03
0161: BTFSS 03.0
0162: GOTO 16B
.................... {
.................... lcd_send_nibble(3);
0163: MOVLW 03
0164: MOVWF 44
0165: CALL 08C
.................... delay_ms(5);
0166: MOVLW 05
0167: MOVWF 3D
0168: CALL 078
.................... }
0169: INCF 2F,F
016A: GOTO 15F
....................
.................... lcd_send_nibble(2);
016B: MOVLW 02
016C: MOVWF 44
016D: CALL 08C
.................... for(i=0;i<=3;++i)
016E: CLRF 2F
016F: MOVF 2F,W
0170: SUBLW 03
0171: BTFSS 03.0
0172: GOTO 17C
.................... lcd_send_byte(0,LCD_INIT_STRING[i]);
0173: MOVF 2F,W
0174: CALL 004
0175: MOVWF 30
0176: CLRF 41
0177: MOVF 30,W
0178: MOVWF 42
0179: CALL 0E9
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
017A: INCF 2F,F
017B: GOTO 16F
.................... g_LcdX = 0;
.................... g_LcdY = 0;
.................... #endif
.................... }
017C: RETURN
....................
.................... void lcd_gotoxy(BYTE x, BYTE y)
.................... {
.................... BYTE address;
....................
.................... if(y!=1)
017D: DECFSZ 3E,W
017E: GOTO 180
017F: GOTO 183
.................... address=LCD_LINE_TWO;
0180: MOVLW 40
0181: MOVWF 3F
.................... else
0182: GOTO 184
.................... address=0;
0183: CLRF 3F
....................
.................... address+=x-1;
0184: MOVLW 01
0185: SUBWF 3D,W
0186: ADDWF 3F,F
.................... lcd_send_byte(0,0x80|address);
0187: MOVF 3F,W
0188: IORLW 80
0189: MOVWF 40
018A: CLRF 41
018B: MOVF 40,W
018C: MOVWF 42
018D: CALL 0E9
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... g_LcdX = x - 1;
.................... g_LcdY = y - 1;
.................... #endif
.................... }
018E: RETURN
....................
.................... void lcd_putc(char c)
.................... {
.................... switch (c)
.................... {
018F: MOVF 3C,W
0190: XORLW 07
0191: BTFSC 03.2
0192: GOTO 19D
0193: XORLW 0B
0194: BTFSC 03.2
0195: GOTO 1A2
0196: XORLW 06
0197: BTFSC 03.2
0198: GOTO 1AA
0199: XORLW 02
019A: BTFSC 03.2
019B: GOTO 1B0
019C: GOTO 1B5
.................... case '\a' : lcd_gotoxy(1,1); break;
019D: MOVLW 01
019E: MOVWF 3D
019F: MOVWF 3E
01A0: CALL 17D
01A1: GOTO 1BB
....................
.................... case '\f' : lcd_send_byte(0,1);
01A2: CLRF 41
01A3: MOVLW 01
01A4: MOVWF 42
01A5: CALL 0E9
.................... delay_ms(2);
01A6: MOVLW 02
01A7: MOVWF 3D
01A8: CALL 078
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... g_LcdX = 0;
.................... g_LcdY = 0;
.................... #endif
.................... break;
01A9: GOTO 1BB
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... case '\r' : lcd_gotoxy(1, g_LcdY+1); break;
.................... case '\n' :
.................... while (g_LcdX++ < LCD_LINE_LENGTH)
.................... {
.................... lcd_send_byte(1, ' ');
.................... }
.................... lcd_gotoxy(1, g_LcdY+2);
.................... break;
.................... #else
.................... case '\n' : lcd_gotoxy(1,2); break;
01AA: MOVLW 01
01AB: MOVWF 3D
01AC: MOVLW 02
01AD: MOVWF 3E
01AE: CALL 17D
01AF: GOTO 1BB
.................... #endif
....................
.................... case '\b' : lcd_send_byte(0,0x10); break;
01B0: CLRF 41
01B1: MOVLW 10
01B2: MOVWF 42
01B3: CALL 0E9
01B4: GOTO 1BB
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... default :
.................... if (g_LcdX < LCD_LINE_LENGTH)
.................... {
.................... lcd_send_byte(1, c);
.................... g_LcdX++;
.................... }
.................... break;
.................... #else
.................... default : lcd_send_byte(1,c); break;
01B5: MOVLW 01
01B6: MOVWF 41
01B7: MOVF 3C,W
01B8: MOVWF 42
01B9: CALL 0E9
01BA: GOTO 1BB
.................... #endif
.................... }
.................... }
01BB: RETURN
....................
.................... char lcd_getc(BYTE x, BYTE y)
.................... {
.................... char value;
....................
.................... lcd_gotoxy(x,y);
.................... while ( bit_test(lcd_read_byte(),7) ); // wait until busy flag is low
.................... lcd_output_rs(1);
.................... value = lcd_read_byte();
.................... lcd_output_rs(0);
....................
.................... return(value);
.................... }
....................
....................
.................... #include "../SHT25.h"
....................
.................... #define SHT25_HEATER_ON 0x04
.................... #define SHT25_HEATER_OFF 0x00
.................... #define SHT25_OTP_reload_off 0x02
.................... #define SHT25_RH12_T14 0x00
.................... #define SHT25_RH8_T12 0x01
.................... #define SHT25_RH10_T13 0x80
.................... #define SHT25_RH11_T11 0x81
....................
.................... #define SHT25_ADDR 0x80
....................
.................... #include "SHT25.c"
.................... void SHT25_soft_reset()
.................... {
.................... i2c_start(); // Start condition
.................... i2c_write(0x80); // Device address
.................... i2c_write(0xFE); // Device command
.................... i2c_stop(); // Stop condition
.................... }
....................
.................... unsigned int8 SHT25_setup(unsigned int8 setup_reg ) // writes to status register and returns its value
.................... {
.................... unsigned int8 reg;
....................
.................... i2c_start(); // Start condition
.................... i2c_write(SHT25_ADDR); // Device address
.................... i2c_write(0xE7); // Device command
....................
.................... i2c_start(); // Start condition
.................... i2c_write(SHT25_ADDR+1); // Device address
.................... reg=i2c_read(0); // Read status actual status register
....................
.................... reg = (reg & 0x3A) | setup_reg;
....................
.................... i2c_start(); // Start condition
.................... i2c_write(SHT25_ADDR); // Device address
.................... i2c_write(0xE6); // Write to status register
.................... i2c_write(reg); // Device command
.................... i2c_stop(); // Stop condition
....................
.................... delay_ms(10);
....................
.................... i2c_start(); // Start condition
.................... i2c_write(SHT25_ADDR); // Device address
.................... i2c_write(0xE7); // Device command
....................
.................... i2c_start(); // Start condition
.................... i2c_write(SHT25_ADDR+1); // Device address
.................... reg=i2c_read(0); // Read status actual status register
....................
.................... return (reg);
.................... }
....................
....................
.................... float SHT25_get_temp()
.................... {
.................... unsigned int8 MSB, LSB, Check;
.................... unsigned int16 data;
....................
.................... i2c_start();
*
052E: BSF 20.4
052F: MOVF 20,W
0530: BSF 03.5
0531: MOVWF 07
0532: NOP
0533: BCF 03.5
0534: BSF 20.3
0535: MOVF 20,W
0536: BSF 03.5
0537: MOVWF 07
0538: NOP
0539: BCF 03.5
053A: BTFSS 07.3
053B: GOTO 53A
053C: BCF 07.4
053D: BCF 20.4
053E: MOVF 20,W
053F: BSF 03.5
0540: MOVWF 07
0541: NOP
0542: BCF 03.5
0543: BCF 07.3
0544: BCF 20.3
0545: MOVF 20,W
0546: BSF 03.5
0547: MOVWF 07
.................... I2C_Write(SHT25_ADDR);
0548: MOVLW 80
0549: BCF 03.5
054A: MOVWF 34
054B: CALL 202
.................... I2C_write(0xE3);
054C: MOVLW E3
054D: MOVWF 34
054E: CALL 202
.................... i2c_stop();
054F: BCF 20.4
0550: MOVF 20,W
0551: BSF 03.5
0552: MOVWF 07
0553: NOP
0554: BCF 03.5
0555: BSF 20.3
0556: MOVF 20,W
0557: BSF 03.5
0558: MOVWF 07
0559: BCF 03.5
055A: BTFSS 07.3
055B: GOTO 55A
055C: NOP
055D: GOTO 55E
055E: NOP
055F: BSF 20.4
0560: MOVF 20,W
0561: BSF 03.5
0562: MOVWF 07
0563: NOP
....................
.................... delay_ms(100);
0564: MOVLW 64
0565: BCF 03.5
0566: MOVWF 3D
0567: CALL 078
....................
.................... i2c_start();
0568: BSF 20.4
0569: MOVF 20,W
056A: BSF 03.5
056B: MOVWF 07
056C: NOP
056D: BCF 03.5
056E: BSF 20.3
056F: MOVF 20,W
0570: BSF 03.5
0571: MOVWF 07
0572: NOP
0573: BCF 03.5
0574: BCF 07.4
0575: BCF 20.4
0576: MOVF 20,W
0577: BSF 03.5
0578: MOVWF 07
0579: NOP
057A: BCF 03.5
057B: BCF 07.3
057C: BCF 20.3
057D: MOVF 20,W
057E: BSF 03.5
057F: MOVWF 07
.................... I2C_Write(SHT25_ADDR+1);
0580: MOVLW 81
0581: BCF 03.5
0582: MOVWF 34
0583: CALL 202
.................... MSB=i2c_read(1);
0584: MOVLW 01
0585: MOVWF 77
0586: CALL 24C
0587: MOVF 78,W
0588: MOVWF 2F
.................... LSB=i2c_read(1);
0589: MOVLW 01
058A: MOVWF 77
058B: CALL 24C
058C: MOVF 78,W
058D: MOVWF 30
.................... Check=i2c_read(0);
058E: CLRF 77
058F: CALL 24C
0590: MOVF 78,W
0591: MOVWF 31
.................... i2c_stop();
0592: BCF 20.4
0593: MOVF 20,W
0594: BSF 03.5
0595: MOVWF 07
0596: NOP
0597: BCF 03.5
0598: BSF 20.3
0599: MOVF 20,W
059A: BSF 03.5
059B: MOVWF 07
059C: BCF 03.5
059D: BTFSS 07.3
059E: GOTO 59D
059F: NOP
05A0: GOTO 5A1
05A1: NOP
05A2: BSF 20.4
05A3: MOVF 20,W
05A4: BSF 03.5
05A5: MOVWF 07
05A6: NOP
....................
.................... LSB = LSB >> 2; // trow out status bits
05A7: BCF 03.5
05A8: RRF 30,F
05A9: RRF 30,F
05AA: MOVLW 3F
05AB: ANDWF 30,F
....................
.................... data = (((unsigned int16) MSB << 8) + (LSB << 4));
05AC: CLRF 35
05AD: MOVF 2F,W
05AE: MOVWF 34
05AF: MOVWF 35
05B0: CLRF 34
05B1: SWAPF 30,W
05B2: MOVWF 77
05B3: MOVLW F0
05B4: ANDWF 77,F
05B5: MOVF 77,W
05B6: ADDWF 34,W
05B7: MOVWF 32
05B8: MOVF 35,W
05B9: MOVWF 33
05BA: BTFSC 03.0
05BB: INCF 33,F
.................... return(-46.85 + 175.72*((float)data/0xFFFF));
05BC: MOVF 33,W
05BD: MOVWF 35
05BE: MOVF 32,W
05BF: MOVWF 34
05C0: CALL 291
05C1: MOVF 77,W
05C2: MOVWF 34
05C3: MOVF 78,W
05C4: MOVWF 35
05C5: MOVF 79,W
05C6: MOVWF 36
05C7: MOVF 7A,W
05C8: MOVWF 37
05C9: MOVWF 3B
05CA: MOVF 79,W
05CB: MOVWF 3A
05CC: MOVF 78,W
05CD: MOVWF 39
05CE: MOVF 77,W
05CF: MOVWF 38
05D0: CLRF 3F
05D1: MOVLW FF
05D2: MOVWF 3E
05D3: MOVLW 7F
05D4: MOVWF 3D
05D5: MOVLW 8E
05D6: MOVWF 3C
05D7: CALL 2AE
05D8: MOVLW 52
05D9: MOVWF 3F
05DA: MOVLW B8
05DB: MOVWF 3E
05DC: MOVLW 2F
05DD: MOVWF 3D
05DE: MOVLW 86
05DF: MOVWF 3C
05E0: MOVF 7A,W
05E1: MOVWF 43
05E2: MOVF 79,W
05E3: MOVWF 42
05E4: MOVF 78,W
05E5: MOVWF 41
05E6: MOVF 77,W
05E7: MOVWF 40
05E8: CALL 378
05E9: BCF 03.1
05EA: MOVLW 66
05EB: MOVWF 37
05EC: MOVWF 36
05ED: MOVLW BB
05EE: MOVWF 35
05EF: MOVLW 84
05F0: MOVWF 34
05F1: MOVF 7A,W
05F2: MOVWF 3B
05F3: MOVF 79,W
05F4: MOVWF 3A
05F5: MOVF 78,W
05F6: MOVWF 39
05F7: MOVF 77,W
05F8: MOVWF 38
05F9: CALL 3ED
.................... }
05FA: BSF 0A.3
05FB: BCF 0A.4
05FC: GOTO 2E4 (RETURN)
....................
.................... float SHT25_get_hum()
.................... {
.................... unsigned int8 MSB, LSB, Check;
.................... unsigned int16 data;
....................
.................... i2c_start(); //RH
05FD: BSF 20.4
05FE: MOVF 20,W
05FF: BSF 03.5
0600: MOVWF 07
0601: NOP
0602: BCF 03.5
0603: BSF 20.3
0604: MOVF 20,W
0605: BSF 03.5
0606: MOVWF 07
0607: NOP
0608: BCF 03.5
0609: BCF 07.4
060A: BCF 20.4
060B: MOVF 20,W
060C: BSF 03.5
060D: MOVWF 07
060E: NOP
060F: BCF 03.5
0610: BCF 07.3
0611: BCF 20.3
0612: MOVF 20,W
0613: BSF 03.5
0614: MOVWF 07
.................... I2C_Write(SHT25_ADDR);
0615: MOVLW 80
0616: BCF 03.5
0617: MOVWF 34
0618: CALL 202
.................... I2C_write(0xE5);
0619: MOVLW E5
061A: MOVWF 34
061B: CALL 202
....................
.................... delay_ms(100);
061C: MOVLW 64
061D: MOVWF 3D
061E: CALL 078
....................
.................... i2c_start();
061F: BSF 20.4
0620: MOVF 20,W
0621: BSF 03.5
0622: MOVWF 07
0623: NOP
0624: BCF 03.5
0625: BSF 20.3
0626: MOVF 20,W
0627: BSF 03.5
0628: MOVWF 07
0629: NOP
062A: BCF 03.5
062B: BTFSS 07.3
062C: GOTO 62B
062D: BCF 07.4
062E: BCF 20.4
062F: MOVF 20,W
0630: BSF 03.5
0631: MOVWF 07
0632: NOP
0633: BCF 03.5
0634: BCF 07.3
0635: BCF 20.3
0636: MOVF 20,W
0637: BSF 03.5
0638: MOVWF 07
.................... I2C_Write(SHT25_ADDR+1);
0639: MOVLW 81
063A: BCF 03.5
063B: MOVWF 34
063C: CALL 202
.................... MSB=i2c_read(1);
063D: MOVLW 01
063E: MOVWF 77
063F: CALL 24C
0640: MOVF 78,W
0641: MOVWF 2F
.................... LSB=i2c_read(1);
0642: MOVLW 01
0643: MOVWF 77
0644: CALL 24C
0645: MOVF 78,W
0646: MOVWF 30
.................... Check=i2c_read(0);
0647: CLRF 77
0648: CALL 24C
0649: MOVF 78,W
064A: MOVWF 31
.................... i2c_stop();
064B: BCF 20.4
064C: MOVF 20,W
064D: BSF 03.5
064E: MOVWF 07
064F: NOP
0650: BCF 03.5
0651: BSF 20.3
0652: MOVF 20,W
0653: BSF 03.5
0654: MOVWF 07
0655: BCF 03.5
0656: BTFSS 07.3
0657: GOTO 656
0658: NOP
0659: GOTO 65A
065A: NOP
065B: BSF 20.4
065C: MOVF 20,W
065D: BSF 03.5
065E: MOVWF 07
065F: NOP
....................
.................... LSB = LSB >> 2; // trow out status bits
0660: BCF 03.5
0661: RRF 30,F
0662: RRF 30,F
0663: MOVLW 3F
0664: ANDWF 30,F
....................
.................... data = (((unsigned int16) MSB << 8) + (LSB << 4) );
0665: CLRF 35
0666: MOVF 2F,W
0667: MOVWF 34
0668: MOVWF 35
0669: CLRF 34
066A: SWAPF 30,W
066B: MOVWF 77
066C: MOVLW F0
066D: ANDWF 77,F
066E: MOVF 77,W
066F: ADDWF 34,W
0670: MOVWF 32
0671: MOVF 35,W
0672: MOVWF 33
0673: BTFSC 03.0
0674: INCF 33,F
.................... return( -6.0 + 125.0*((float)data/0xFFFF));
0675: MOVF 33,W
0676: MOVWF 35
0677: MOVF 32,W
0678: MOVWF 34
0679: CALL 291
067A: MOVF 77,W
067B: MOVWF 34
067C: MOVF 78,W
067D: MOVWF 35
067E: MOVF 79,W
067F: MOVWF 36
0680: MOVF 7A,W
0681: MOVWF 37
0682: MOVWF 3B
0683: MOVF 79,W
0684: MOVWF 3A
0685: MOVF 78,W
0686: MOVWF 39
0687: MOVF 77,W
0688: MOVWF 38
0689: CLRF 3F
068A: MOVLW FF
068B: MOVWF 3E
068C: MOVLW 7F
068D: MOVWF 3D
068E: MOVLW 8E
068F: MOVWF 3C
0690: CALL 2AE
0691: CLRF 3F
0692: CLRF 3E
0693: MOVLW 7A
0694: MOVWF 3D
0695: MOVLW 85
0696: MOVWF 3C
0697: MOVF 7A,W
0698: MOVWF 43
0699: MOVF 79,W
069A: MOVWF 42
069B: MOVF 78,W
069C: MOVWF 41
069D: MOVF 77,W
069E: MOVWF 40
069F: CALL 378
06A0: BCF 03.1
06A1: CLRF 37
06A2: CLRF 36
06A3: MOVLW C0
06A4: MOVWF 35
06A5: MOVLW 81
06A6: MOVWF 34
06A7: MOVF 7A,W
06A8: MOVWF 3B
06A9: MOVF 79,W
06AA: MOVWF 3A
06AB: MOVF 78,W
06AC: MOVWF 39
06AD: MOVF 77,W
06AE: MOVWF 38
06AF: CALL 3ED
.................... }
06B0: BSF 0A.3
06B1: BCF 0A.4
06B2: GOTO 2EF (RETURN)
....................
....................
....................
....................
.................... #include "../LTS01.h"
.................... //Adresa pro VDD, VDD, VDD W 0x9E R 0x9F
.................... //Adresa pro GND GND GND W 0x90 R 0x91
....................
.................... #define LTS01A_address 0x90
....................
.................... #include "LTS01.c"
.................... float LTS01_get_temp()
.................... {
.................... unsigned int8 MSB;
.................... unsigned int8 LSB;
.................... signed int16 data;
....................
.................... i2c_start();
06B3: BSF 20.4
06B4: MOVF 20,W
06B5: BSF 03.5
06B6: MOVWF 07
06B7: NOP
06B8: BCF 03.5
06B9: BSF 20.3
06BA: MOVF 20,W
06BB: BSF 03.5
06BC: MOVWF 07
06BD: NOP
06BE: BCF 03.5
06BF: BCF 07.4
06C0: BCF 20.4
06C1: MOVF 20,W
06C2: BSF 03.5
06C3: MOVWF 07
06C4: NOP
06C5: BCF 03.5
06C6: BCF 07.3
06C7: BCF 20.3
06C8: MOVF 20,W
06C9: BSF 03.5
06CA: MOVWF 07
.................... I2C_Write(LTS01A_address);
06CB: MOVLW 90
06CC: BCF 03.5
06CD: MOVWF 34
06CE: CALL 202
.................... I2C_write(0x00);
06CF: CLRF 34
06D0: CALL 202
.................... i2c_stop();
06D1: BCF 20.4
06D2: MOVF 20,W
06D3: BSF 03.5
06D4: MOVWF 07
06D5: NOP
06D6: BCF 03.5
06D7: BSF 20.3
06D8: MOVF 20,W
06D9: BSF 03.5
06DA: MOVWF 07
06DB: BCF 03.5
06DC: BTFSS 07.3
06DD: GOTO 6DC
06DE: NOP
06DF: GOTO 6E0
06E0: NOP
06E1: BSF 20.4
06E2: MOVF 20,W
06E3: BSF 03.5
06E4: MOVWF 07
06E5: NOP
.................... i2c_start();
06E6: BCF 03.5
06E7: BSF 20.4
06E8: MOVF 20,W
06E9: BSF 03.5
06EA: MOVWF 07
06EB: NOP
06EC: BCF 03.5
06ED: BSF 20.3
06EE: MOVF 20,W
06EF: BSF 03.5
06F0: MOVWF 07
06F1: NOP
06F2: BCF 03.5
06F3: BCF 07.4
06F4: BCF 20.4
06F5: MOVF 20,W
06F6: BSF 03.5
06F7: MOVWF 07
06F8: NOP
06F9: BCF 03.5
06FA: BCF 07.3
06FB: BCF 20.3
06FC: MOVF 20,W
06FD: BSF 03.5
06FE: MOVWF 07
.................... I2C_Write(LTS01A_address+1);
06FF: MOVLW 91
0700: BCF 03.5
0701: MOVWF 34
0702: CALL 202
.................... MSB=i2c_read(1);
0703: MOVLW 01
0704: MOVWF 77
0705: CALL 24C
0706: MOVF 78,W
0707: MOVWF 2F
.................... LSB=i2c_read(0);
0708: CLRF 77
0709: CALL 24C
070A: MOVF 78,W
070B: MOVWF 30
.................... i2c_stop();
070C: BCF 20.4
070D: MOVF 20,W
070E: BSF 03.5
070F: MOVWF 07
0710: NOP
0711: BCF 03.5
0712: BSF 20.3
0713: MOVF 20,W
0714: BSF 03.5
0715: MOVWF 07
0716: BCF 03.5
0717: BTFSS 07.3
0718: GOTO 717
0719: NOP
071A: GOTO 71B
071B: NOP
071C: BSF 20.4
071D: MOVF 20,W
071E: BSF 03.5
071F: MOVWF 07
0720: NOP
....................
.................... data = MAKE16(MSB,LSB);
0721: BCF 03.5
0722: MOVF 2F,W
0723: MOVWF 32
0724: MOVF 30,W
0725: MOVWF 31
....................
.................... return (data * 0.00390625 );
0726: MOVF 32,W
0727: MOVWF 34
0728: MOVF 31,W
0729: MOVWF 33
072A: MOVF 34,W
072B: MOVWF 36
072C: MOVF 33,W
072D: MOVWF 35
*
0752: MOVF 7A,W
0753: MOVWF 3F
0754: MOVF 79,W
0755: MOVWF 3E
0756: MOVF 78,W
0757: MOVWF 3D
0758: MOVF 77,W
0759: MOVWF 3C
075A: CLRF 43
075B: CLRF 42
075C: CLRF 41
075D: MOVLW 77
075E: MOVWF 40
075F: CALL 378
....................
.................... }
0760: BSF 0A.3
0761: BCF 0A.4
0762: GOTO 2FA (RETURN)
....................
....................
....................
....................
.................... void main()
.................... {
*
0A28: CLRF 04
0A29: BCF 03.7
0A2A: MOVLW 1F
0A2B: ANDWF 03,F
0A2C: MOVLW 71
0A2D: BSF 03.5
0A2E: MOVWF 0F
0A2F: MOVF 0F,W
0A30: BSF 03.6
0A31: BCF 07.3
0A32: MOVLW 0C
0A33: BCF 03.6
0A34: MOVWF 19
0A35: MOVLW A2
0A36: MOVWF 18
0A37: MOVLW 90
0A38: BCF 03.5
0A39: MOVWF 18
0A3A: BSF 03.5
0A3B: BSF 03.6
0A3C: MOVF 09,W
0A3D: ANDLW C0
0A3E: MOVWF 09
0A3F: BCF 03.6
0A40: BCF 1F.4
0A41: BCF 1F.5
0A42: MOVLW 00
0A43: BSF 03.6
0A44: MOVWF 08
0A45: BCF 03.5
0A46: CLRF 07
0A47: CLRF 08
0A48: CLRF 09
*
0A4C: CLRF 2E
0A4D: CLRF 2D
.................... float temp1, temp2, humidity;
.................... int16 i=0;
....................
.................... setup_adc_ports(NO_ANALOGS|VSS_VDD);
0A4E: BSF 03.5
0A4F: BSF 03.6
0A50: MOVF 09,W
0A51: ANDLW C0
0A52: MOVWF 09
0A53: BCF 03.6
0A54: BCF 1F.4
0A55: BCF 1F.5
0A56: MOVLW 00
0A57: BSF 03.6
0A58: MOVWF 08
.................... setup_adc(ADC_CLOCK_DIV_2);
0A59: BCF 03.5
0A5A: BCF 03.6
0A5B: BCF 1F.6
0A5C: BCF 1F.7
0A5D: BSF 03.5
0A5E: BSF 1F.7
0A5F: BCF 03.5
0A60: BSF 1F.0
.................... setup_spi(SPI_SS_DISABLED);
0A61: BCF 14.5
0A62: BCF 20.5
0A63: MOVF 20,W
0A64: BSF 03.5
0A65: MOVWF 07
0A66: BCF 03.5
0A67: BSF 20.4
0A68: MOVF 20,W
0A69: BSF 03.5
0A6A: MOVWF 07
0A6B: BCF 03.5
0A6C: BCF 20.3
0A6D: MOVF 20,W
0A6E: BSF 03.5
0A6F: MOVWF 07
0A70: MOVLW 01
0A71: BCF 03.5
0A72: MOVWF 14
0A73: MOVLW 00
0A74: BSF 03.5
0A75: MOVWF 14
.................... setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1);
0A76: MOVF 01,W
0A77: ANDLW C7
0A78: IORLW 08
0A79: MOVWF 01
.................... setup_timer_1(T1_DISABLED);
0A7A: BCF 03.5
0A7B: CLRF 10
.................... setup_timer_2(T2_DISABLED,0,1);
0A7C: MOVLW 00
0A7D: MOVWF 78
0A7E: MOVWF 12
0A7F: MOVLW 00
0A80: BSF 03.5
0A81: MOVWF 12
.................... setup_ccp1(CCP_OFF);
0A82: BCF 03.5
0A83: BSF 20.2
0A84: MOVF 20,W
0A85: BSF 03.5
0A86: MOVWF 07
0A87: BCF 03.5
0A88: CLRF 17
0A89: BSF 03.5
0A8A: CLRF 1B
0A8B: CLRF 1C
0A8C: MOVLW 01
0A8D: MOVWF 1D
.................... setup_comparator(NC_NC_NC_NC); // This device COMP currently not supported by the PICWizard
0A8E: BCF 03.5
0A8F: BSF 03.6
0A90: CLRF 07
0A91: CLRF 08
0A92: CLRF 09
.................... setup_oscillator(OSC_8MHZ);
0A93: MOVLW 71
0A94: BSF 03.5
0A95: BCF 03.6
0A96: MOVWF 0F
0A97: MOVF 0F,W
....................
....................
.................... printf("GeoMet01A\r\n",);
0A98: MOVLW 0C
0A99: BCF 03.5
0A9A: BSF 03.6
0A9B: MOVWF 0D
0A9C: MOVLW 00
0A9D: MOVWF 0F
0A9E: BCF 0A.3
0A9F: BCF 03.6
0AA0: CALL 030
0AA1: BSF 0A.3
.................... printf("(c) Kaklik 2013\r\n");
0AA2: MOVLW 12
0AA3: BSF 03.6
0AA4: MOVWF 0D
0AA5: MOVLW 00
0AA6: MOVWF 0F
0AA7: BCF 0A.3
0AA8: BCF 03.6
0AA9: CALL 030
0AAA: BSF 0A.3
.................... printf("www.mlab.cz\r\n");
0AAB: MOVLW 1B
0AAC: BSF 03.6
0AAD: MOVWF 0D
0AAE: MOVLW 00
0AAF: MOVWF 0F
0AB0: BCF 0A.3
0AB1: BCF 03.6
0AB2: CALL 030
0AB3: BSF 0A.3
....................
.................... lcd_init();
0AB4: BCF 0A.3
0AB5: CALL 145
0AB6: BSF 0A.3
.................... lcd_putc("(c) Kaklik 2013");
0AB7: MOVLW 22
0AB8: BSF 03.6
0AB9: MOVWF 0D
0ABA: MOVLW 00
0ABB: MOVWF 0F
0ABC: BCF 0A.3
0ABD: BCF 03.6
0ABE: CALL 1BC
0ABF: BSF 0A.3
.................... lcd_gotoxy(3,2);
0AC0: MOVLW 03
0AC1: MOVWF 3D
0AC2: MOVLW 02
0AC3: MOVWF 3E
0AC4: BCF 0A.3
0AC5: CALL 17D
0AC6: BSF 0A.3
.................... lcd_putc("www.mlab.cz");
0AC7: MOVLW 2A
0AC8: BSF 03.6
0AC9: MOVWF 0D
0ACA: MOVLW 00
0ACB: MOVWF 0F
0ACC: BCF 0A.3
0ACD: BCF 03.6
0ACE: CALL 1BC
0ACF: BSF 0A.3
.................... Delay_ms(2000);
0AD0: MOVLW 08
0AD1: MOVWF 2F
0AD2: MOVLW FA
0AD3: MOVWF 3D
0AD4: BCF 0A.3
0AD5: CALL 078
0AD6: BSF 0A.3
0AD7: DECFSZ 2F,F
0AD8: GOTO 2D2
.................... lcd_init();
0AD9: BCF 0A.3
0ADA: CALL 145
0ADB: BSF 0A.3
....................
.................... while (TRUE)
.................... {
.................... lcd_gotoxy(1,1);
0ADC: MOVLW 01
0ADD: MOVWF 3D
0ADE: MOVWF 3E
0ADF: BCF 0A.3
0AE0: CALL 17D
0AE1: BSF 0A.3
.................... temp1 = SHT25_get_temp();
0AE2: BCF 0A.3
0AE3: GOTO 52E
0AE4: BSF 0A.3
0AE5: MOVF 7A,W
0AE6: MOVWF 24
0AE7: MOVF 79,W
0AE8: MOVWF 23
0AE9: MOVF 78,W
0AEA: MOVWF 22
0AEB: MOVF 77,W
0AEC: MOVWF 21
.................... humidity = SHT25_get_hum();
0AED: BCF 0A.3
0AEE: GOTO 5FD
0AEF: BSF 0A.3
0AF0: MOVF 7A,W
0AF1: MOVWF 2C
0AF2: MOVF 79,W
0AF3: MOVWF 2B
0AF4: MOVF 78,W
0AF5: MOVWF 2A
0AF6: MOVF 77,W
0AF7: MOVWF 29
.................... temp2= LTS01_get_temp();
0AF8: BCF 0A.3
0AF9: GOTO 6B3
0AFA: BSF 0A.3
0AFB: MOVF 7A,W
0AFC: MOVWF 28
0AFD: MOVF 79,W
0AFE: MOVWF 27
0AFF: MOVF 78,W
0B00: MOVWF 26
0B01: MOVF 77,W
0B02: MOVWF 25
....................
.................... printf(lcd_putc,"%f C %f \%% \r\n",temp1, humidity);
0B03: MOVLW 89
0B04: MOVWF 04
0B05: MOVF 24,W
0B06: MOVWF 32
0B07: MOVF 23,W
0B08: MOVWF 31
0B09: MOVF 22,W
0B0A: MOVWF 30
0B0B: MOVF 21,W
0B0C: MOVWF 2F
0B0D: MOVLW 02
0B0E: MOVWF 33
0B0F: CALL 000
0B10: MOVLW 20
0B11: MOVWF 3C
0B12: BCF 0A.3
0B13: CALL 18F
0B14: BSF 0A.3
0B15: MOVLW 43
0B16: MOVWF 3C
0B17: BCF 0A.3
0B18: CALL 18F
0B19: BSF 0A.3
0B1A: MOVLW 20
0B1B: MOVWF 3C
0B1C: BCF 0A.3
0B1D: CALL 18F
0B1E: BSF 0A.3
0B1F: MOVLW 89
0B20: MOVWF 04
0B21: MOVF 2C,W
0B22: MOVWF 32
0B23: MOVF 2B,W
0B24: MOVWF 31
0B25: MOVF 2A,W
0B26: MOVWF 30
0B27: MOVF 29,W
0B28: MOVWF 2F
0B29: MOVLW 02
0B2A: MOVWF 33
0B2B: CALL 000
0B2C: MOVLW 20
0B2D: MOVWF 3C
0B2E: BCF 0A.3
0B2F: CALL 18F
0B30: BSF 0A.3
0B31: MOVLW 25
0B32: MOVWF 3C
0B33: BCF 0A.3
0B34: CALL 18F
0B35: BSF 0A.3
0B36: MOVLW 20
0B37: MOVWF 3C
0B38: BCF 0A.3
0B39: CALL 18F
0B3A: BSF 0A.3
0B3B: MOVLW 0D
0B3C: MOVWF 3C
0B3D: BCF 0A.3
0B3E: CALL 18F
0B3F: BSF 0A.3
0B40: MOVLW 0A
0B41: MOVWF 3C
0B42: BCF 0A.3
0B43: CALL 18F
0B44: BSF 0A.3
.................... lcd_gotoxy(1,2);
0B45: MOVLW 01
0B46: MOVWF 3D
0B47: MOVLW 02
0B48: MOVWF 3E
0B49: BCF 0A.3
0B4A: CALL 17D
0B4B: BSF 0A.3
.................... printf(lcd_putc," %f C",temp2);
0B4C: MOVLW 20
0B4D: MOVWF 3C
0B4E: BCF 0A.3
0B4F: CALL 18F
0B50: BSF 0A.3
0B51: MOVLW 89
0B52: MOVWF 04
0B53: MOVF 28,W
0B54: MOVWF 32
0B55: MOVF 27,W
0B56: MOVWF 31
0B57: MOVF 26,W
0B58: MOVWF 30
0B59: MOVF 25,W
0B5A: MOVWF 2F
0B5B: MOVLW 02
0B5C: MOVWF 33
0B5D: CALL 000
0B5E: MOVLW 20
0B5F: MOVWF 3C
0B60: BCF 0A.3
0B61: CALL 18F
0B62: BSF 0A.3
0B63: MOVLW 43
0B64: MOVWF 3C
0B65: BCF 0A.3
0B66: CALL 18F
0B67: BSF 0A.3
.................... printf("%ld %f %f %f \r\n",i, temp1, humidity, temp2);
0B68: MOVLW 10
0B69: MOVWF 04
0B6A: MOVF 2E,W
0B6B: MOVWF 30
0B6C: MOVF 2D,W
0B6D: MOVWF 2F
0B6E: GOTO 0DA
0B6F: MOVLW 20
0B70: BTFSS 0C.4
0B71: GOTO 370
0B72: MOVWF 19
0B73: MOVLW 89
0B74: MOVWF 04
0B75: MOVF 24,W
0B76: MOVWF 32
0B77: MOVF 23,W
0B78: MOVWF 31
0B79: MOVF 22,W
0B7A: MOVWF 30
0B7B: MOVF 21,W
0B7C: MOVWF 2F
0B7D: MOVLW 02
0B7E: MOVWF 33
0B7F: CALL 152
0B80: MOVLW 20
0B81: BTFSS 0C.4
0B82: GOTO 381
0B83: MOVWF 19
0B84: MOVLW 89
0B85: MOVWF 04
0B86: MOVF 2C,W
0B87: MOVWF 32
0B88: MOVF 2B,W
0B89: MOVWF 31
0B8A: MOVF 2A,W
0B8B: MOVWF 30
0B8C: MOVF 29,W
0B8D: MOVWF 2F
0B8E: MOVLW 02
0B8F: MOVWF 33
0B90: CALL 152
0B91: MOVLW 20
0B92: BTFSS 0C.4
0B93: GOTO 392
0B94: MOVWF 19
0B95: MOVLW 89
0B96: MOVWF 04
0B97: MOVF 28,W
0B98: MOVWF 32
0B99: MOVF 27,W
0B9A: MOVWF 31
0B9B: MOVF 26,W
0B9C: MOVWF 30
0B9D: MOVF 25,W
0B9E: MOVWF 2F
0B9F: MOVLW 02
0BA0: MOVWF 33
0BA1: CALL 152
0BA2: MOVLW 20
0BA3: BTFSS 0C.4
0BA4: GOTO 3A3
0BA5: MOVWF 19
0BA6: MOVLW 0D
0BA7: BTFSS 0C.4
0BA8: GOTO 3A7
0BA9: MOVWF 19
0BAA: MOVLW 0A
0BAB: BTFSS 0C.4
0BAC: GOTO 3AB
0BAD: MOVWF 19
.................... i++;
0BAE: INCF 2D,F
0BAF: BTFSC 03.2
0BB0: INCF 2E,F
.................... Delay_ms(100);
0BB1: MOVLW 64
0BB2: MOVWF 3D
0BB3: BCF 0A.3
0BB4: CALL 078
0BB5: BSF 0A.3
.................... }
0BB6: GOTO 2DC
....................
.................... }
0BB7: SLEEP
 
Configuration Fuses:
Word 1: 2CF5 INTRC NOWDT NOPUT MCLR NOPROTECT NOCPD NOBROWNOUT IESO FCMEN NOLVP NODEBUG
Word 2: 3FFF NOWRT BORV40
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.pjt
0,0 → 1,33
[PROJECT]
Target=main.hex
Development_Mode=
Processor_Text=PIC16F887
ToolSuite=CCS
Processor=0x887F
[main]
Type=4
Path=
FileList=
BuildTool=
OptionString=
AdditionalOptionString=
[mru-list]
1=main.c
[Windows]
0=0000 %S 0 0 796 451 3 0
[Opened Files]
1=main.c
2=main.h
3=C:\Program Files (x86)\PICC\devices\16F887.h
4=C:\Program Files (x86)\PICC\drivers\lcd.c
5=..\SHT25.h
6=..\SHT25.c
7=..\LTS01.h
8=..\LTS01.c
9=
[Target Data]
OptionString=-p +FM
FileList=Z:\home\kaklik\svnMLAB\Designs\Measuring_instruments\GeoMet01A\SW\PIC16F887\main.c
[Units]
Count=1
1=main (main)
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.sta
0,0 → 1,82
 
ROM used: 2940 (36%)
3000 (37%) including unused fragments
 
3 Average locations per line
16 Average locations per statement
 
RAM used: 21 (6%) at main() level
46 (12%) worst case
 
Stack used: 5 worst case (out of 8 total available)
 
Lines Stmts % Files
----- ----- --- -----
58 30 17 main.c
22 0 0 main.h
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h
408 88 49 C:\Program Files (x86)\PICC\drivers\lcd.c
14 0 0 ..\SHT25.h
92 51 28 ..\SHT25.c
8 0 0 ..\LTS01.h
22 11 6 ..\LTS01.c
----- -----
1047 180 Total
 
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 1 1 @delay_ms1
0 69 2 3 @I2C_READ_1
0 74 3 1 @I2C_WRITE_1
0 8 0 0 @const80
Inline 3 751 4.5 lcd_read_byte
0 49 2 2 254 3.7 lcd_read_nibble
0 44 1 1 391 2.4 lcd_send_nibble
0 92 3 3 402 3.6 lcd_send_byte
0 56 2 2 666 5.0 lcd_init
0 18 1 4 191 5.8 lcd_gotoxy
0 45 2 1 354 4.7 lcd_putc
0 207 7 9 572 6.0 SHT25_get_temp
0 29 1 2 @ITOF
0 202 7 14 @DIVFF
0 117 4 13 @MULFF
0 321 11 16 @ADDFF
0 182 6 9 554 5.9 SHT25_get_hum
0 176 6 6 354 3.9 LTS01_get_temp
Inline 2 1053 3.9 @SITOF
1 400 14 15 1053 3.9 MAIN
0 6 0 0 @const141
0 72 2 3 @PSTRINGC7_9600_62_63
0 9 0 0 @const143
0 7 0 0 @const144
0 8 0 0 @const145
0 70 2 3 @PSTRINGC7_98
0 6 0 0 @const147
0 31 1 5 @FTOSD
0 66 2 13 @DIV3232
1 218 7 13 @PRINTF_L32D_98FPFPF
1 120 4 9 @PRINTF_LD_9600_62_63
1 214 7 13 @PRINTF_L32D_9600_62_63FPFPF
 
Program metrics:
Functions 12
Statements 180
Comments 201
Volume (V) 10540
Difficilty (D) 50.7
Effort to implement (E) 534809
Time to implement (T) 8 hours, 15 minutes
Est Delivered Bugs (B) 2
Cyclomatic Complexity 8
Maintainability (MI) 95
 
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-007FF 1984 60
00800-00FFF 952 1096
01000-017FF 0 2048
01800-01FFF 0 2048
 
 
 
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.sym
0,0 → 1,210
004 @WRITE_PROGRAM_MEMORY8.P1
004-005 @READ_PROGRAM_MEMORY8.P2
015 CCP_1
015 CCP_1_LOW
016 CCP_1_HIGH
01B CCP_2_LOW
01B CCP_2
01C CCP_2_HIGH
020 @TRIS_C
021-024 MAIN.temp1
025-028 MAIN.temp2
029-02C MAIN.humidity
02D-02E MAIN.i
02F LTS01_get_temp.MSB
02F-030 @PRINTF_LD_9600_62_63.P1
02F-032 @PRINTF_L32D_9600_62_63FPFPF.P2
02F lcd_init.i
02F-032 @PRINTF_L32D_98FPFPF.P1
02F SHT25_get_temp.MSB
02F SHT25_get_hum.MSB
02F MAIN.@SCRATCH1
02F @PSTRINGC7_9600_62_63.@SCRATCH1
02F @PSTRINGC7_98.@SCRATCH1
030 LTS01_get_temp.LSB
030 SHT25_get_temp.LSB
030 SHT25_get_hum.LSB
030 lcd_init.@SCRATCH1
030 @PSTRINGC7_9600_62_63.@SCRATCH2
030 @PSTRINGC7_98.@SCRATCH2
031 SHT25_get_hum.Check
031-032 LTS01_get_temp.data
031 SHT25_get_temp.Check
031 @PSTRINGC7_9600_62_63.@SCRATCH3
031 @PSTRINGC7_98.@SCRATCH3
031 @PRINTF_LD_9600_62_63.@SCRATCH1
032-033 SHT25_get_temp.data
032-033 SHT25_get_hum.data
032 @PRINTF_LD_9600_62_63.@SCRATCH2
033 @PRINTF_L32D_98FPFPF.P1
033 @PRINTF_L32D_9600_62_63FPFPF.P2
033 LTS01_get_temp.@SCRATCH1
033 @PRINTF_LD_9600_62_63.@SCRATCH3
034 @I2C_WRITE_1.P1
034 @I2C_READ_1.P2
034-035 @ITOF.P3
034-037 @ADDFF.P4
034 SHT25_get_temp.@SCRATCH1
034 SHT25_get_hum.@SCRATCH1
034 LTS01_get_temp.@SCRATCH2
034 @PRINTF_L32D_98FPFPF.@SCRATCH1
034 @PRINTF_LD_9600_62_63.@SCRATCH4
034 @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH1
035-036 @SITOF.P1
035 @I2C_READ_1.@SCRATCH1
035 SHT25_get_temp.@SCRATCH2
035 SHT25_get_hum.@SCRATCH2
035 @PRINTF_L32D_98FPFPF.@SCRATCH2
035 @PRINTF_LD_9600_62_63.@SCRATCH5
035 @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH2
036 @I2C_READ_1.@SCRATCH2
036 SHT25_get_temp.@SCRATCH3
036 SHT25_get_hum.@SCRATCH3
036 @PRINTF_L32D_98FPFPF.@SCRATCH3
036 @PRINTF_LD_9600_62_63.@SCRATCH6
036 @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH3
037 SHT25_get_temp.@SCRATCH4
037 SHT25_get_hum.@SCRATCH4
037 @PRINTF_L32D_98FPFPF.@SCRATCH4
037 @PRINTF_LD_9600_62_63.@SCRATCH7
037 @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH4
038-03B @DIVFF.P1
038-03B @ADDFF.P2
038 @PRINTF_L32D_98FPFPF.@SCRATCH5
038 @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH5
039 @PRINTF_L32D_98FPFPF.@SCRATCH6
039 @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH6
03A @PRINTF_L32D_98FPFPF.@SCRATCH7
03A @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH7
03B @PRINTF_L32D_98FPFPF.@SCRATCH8
03B @PRINTF_L32D_9600_62_63FPFPF.@SCRATCH8
03C-03F @FTOSD.P1
03C-03F @MULFF.P2
03C-03F @DIV3232.P3
03C lcd_putc.c
03C-03F @DIVFF.P1
03C @ADDFF.@SCRATCH1
03D lcd_gotoxy.x
03D @delay_ms1.P1
03D @ADDFF.@SCRATCH2
03E lcd_gotoxy.y
03E @ADDFF.@SCRATCH3
03F lcd_gotoxy.address
03F @ADDFF.@SCRATCH4
040-043 @DIV3232.P1
040-043 @MULFF.P2
040 lcd_gotoxy.@SCRATCH1
040 @DIVFF.@SCRATCH1
040 @ADDFF.@SCRATCH5
040 @FTOSD.@SCRATCH1
041 lcd_send_byte.address
041 @DIVFF.@SCRATCH2
041 @ADDFF.@SCRATCH6
042 lcd_send_byte.n
042 @DIVFF.@SCRATCH3
042 @ADDFF.@SCRATCH7
043 lcd_read_byte.low
043 lcd_send_byte.@SCRATCH1
043 @DIVFF.@SCRATCH4
043 @ADDFF.@SCRATCH8
044 lcd_send_nibble.n
044 lcd_read_byte.high
044 @DIVFF.@SCRATCH5
044 @MULFF.@SCRATCH1
044 @DIV3232.@SCRATCH1
045 lcd_read_nibble.n
045 lcd_read_byte.@SCRATCH1
045 @DIVFF.@SCRATCH6
045 @MULFF.@SCRATCH2
045 @DIV3232.@SCRATCH2
046 lcd_read_nibble.@SCRATCH1
046 @MULFF.@SCRATCH3
046 @DIV3232.@SCRATCH3
047 @MULFF.@SCRATCH4
047 @DIV3232.@SCRATCH4
048 @MULFF.@SCRATCH5
048 @DIV3232.@SCRATCH5
077 @SCRATCH
078 @SCRATCH
078 _RETURN_
079 @SCRATCH
07A @SCRATCH
107.6 C1OUT
108.6 C2OUT
10D-10E @WRITE_PROGRAM_MEMORY8.P1
10D-10E @READ_PROGRAM_MEMORY8.P2
 
ROM Allocation:
0078 @delay_ms1
024C @I2C_READ_1
0202 @I2C_WRITE_1
0004 LCD_INIT_STRING
00F1 lcd_read_byte
00B8 lcd_read_nibble
008C lcd_send_nibble
00E9 lcd_send_byte
0145 lcd_init
017D lcd_gotoxy
018F lcd_putc
052E SHT25_get_temp
0291 @ITOF
02AE @DIVFF
0378 @MULFF
03ED @ADDFF
05FD SHT25_get_hum
06B3 LTS01_get_temp
072E @SITOF
0A28 MAIN
000C @const141
0030 @PSTRINGC7_9600_62_63
0012 @const143
001B @const144
0022 @const145
01BC @PSTRINGC7_98
002A @const147
0763 @FTOSD
0782 @DIV3232
0800 @PRINTF_L32D_98FPFPF
08DA @PRINTF_LD_9600_62_63
0952 @PRINTF_L32D_9600_62_63FPFPF
0A28 @cinit
 
 
User Memory space:
 
User Memory space:
 
Project Directory:
Z:\home\kaklik\svnMLAB\Designs\Measuring_instruments\GeoMet01A\SW\PIC16F887\
 
Project Files:
main.c
main.h
C:\Program Files (x86)\PICC\devices\16F887.h
C:\Program Files (x86)\PICC\drivers\lcd.c
..\SHT25.h
..\SHT25.c
..\LTS01.h
..\LTS01.c
 
Units:
Z:\home\kaklik\svnMLAB\Designs\Measuring_instruments\GeoMet01A\SW\PIC16F887\main (main)
 
Compiler Settings:
Processor: PIC16F887
Pointer Size: 16
ADC Range: 0-1023
Opt Level: 9
Short,Int,Long: UNSIGNED: 1,8,16
Float,Double: 32,32
 
Output Files:
Errors: main.err
Ext Symbols: main.esym
INHX8: main.hex
Symbols: main.sym
List: main.lst
Debug/COFF: main.cof
Project: main.PJT
Call Tree: main.tre
Statistics: main.sta
/Designs/Measuring_instruments/GeoMet01A/SW/PIC16F887/main.tre
0,0 → 1,1036
ÀÄmain
ÀÄMAIN 1/400 Ram=15
ÃÄ??0??
ÃÄ@PSTRINGC7_9600_62_63 0/72 Ram=3
ÃÄ@PSTRINGC7_9600_62_63 0/72 Ram=3
ÃÄ@PSTRINGC7_9600_62_63 0/72 Ram=3
ÃÄlcd_init 0/56 Ram=2
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@const80 0/8 Ram=0
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄ@PSTRINGC7_98 0/70 Ram=3
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_gotoxy 0/18 Ram=4
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄ@PSTRINGC7_98 0/70 Ram=3
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄ@delay_ms1 0/20 Ram=1
ÃÄlcd_init 0/56 Ram=2
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@const80 0/8 Ram=0
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_gotoxy 0/18 Ram=4
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄSHT25_get_temp 0/207 Ram=9
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@ITOF 0/29 Ram=2
³ ÃÄ@DIVFF 0/202 Ram=14
³ ÃÄ@MULFF 0/117 Ram=13
³ ÀÄ@ADDFF 0/321 Ram=16
ÃÄSHT25_get_hum 0/182 Ram=9
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@ITOF 0/29 Ram=2
³ ÃÄ@DIVFF 0/202 Ram=14
³ ÃÄ@MULFF 0/117 Ram=13
³ ÀÄ@ADDFF 0/321 Ram=16
ÃÄLTS01_get_temp 0/176 Ram=6
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@I2C_WRITE_1 0/74 Ram=1
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@I2C_READ_1 0/69 Ram=3
³ ÃÄ@SITOF (Inline) Ram=2
³ ÀÄ@MULFF 0/117 Ram=13
ÃÄ@PRINTF_L32D_98FPFPF 1/218 Ram=13
³ ÃÄ@MULFF 0/117 Ram=13
³ ÃÄ@FTOSD 0/31 Ram=5
³ ÃÄ@DIV3232 0/66 Ram=13
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄ@DIV3232 0/66 Ram=13
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄ@PRINTF_L32D_98FPFPF 1/218 Ram=13
³ ÃÄ@MULFF 0/117 Ram=13
³ ÃÄ@FTOSD 0/31 Ram=5
³ ÃÄ@DIV3232 0/66 Ram=13
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄ@DIV3232 0/66 Ram=13
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_gotoxy 0/18 Ram=4
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄ@PRINTF_L32D_98FPFPF 1/218 Ram=13
³ ÃÄ@MULFF 0/117 Ram=13
³ ÃÄ@FTOSD 0/31 Ram=5
³ ÃÄ@DIV3232 0/66 Ram=13
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄ@DIV3232 0/66 Ram=13
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄ@PRINTF_LD_9600_62_63 1/120 Ram=9
ÃÄ@PRINTF_L32D_9600_62_63FPFPF 1/214 Ram=13
³ ÃÄ@MULFF 0/117 Ram=13
³ ÃÄ@FTOSD 0/31 Ram=5
³ ÃÄ@DIV3232 0/66 Ram=13
³ ÀÄ@DIV3232 0/66 Ram=13
ÃÄ@PRINTF_L32D_9600_62_63FPFPF 1/214 Ram=13
³ ÃÄ@MULFF 0/117 Ram=13
³ ÃÄ@FTOSD 0/31 Ram=5
³ ÃÄ@DIV3232 0/66 Ram=13
³ ÀÄ@DIV3232 0/66 Ram=13
ÃÄ@PRINTF_L32D_9600_62_63FPFPF 1/214 Ram=13
³ ÃÄ@MULFF 0/117 Ram=13
³ ÃÄ@FTOSD 0/31 Ram=5
³ ÃÄ@DIV3232 0/66 Ram=13
³ ÀÄ@DIV3232 0/66 Ram=13
ÀÄ@delay_ms1 0/20 Ram=1
/Designs/Measuring_instruments/GeoMet01A/SW/SHT25.c
0,0 → 1,91
void SHT25_soft_reset()
{
i2c_start(); // Start condition
i2c_write(0x80); // Device address
i2c_write(0xFE); // Device command
i2c_stop(); // Stop condition
}
 
unsigned int8 SHT25_setup(unsigned int8 setup_reg ) // writes to status register and returns its value
{
unsigned int8 reg;
 
i2c_start(); // Start condition
i2c_write(SHT25_ADDR); // Device address
i2c_write(0xE7); // Device command
 
i2c_start(); // Start condition
i2c_write(SHT25_ADDR+1); // Device address
reg=i2c_read(0); // Read status actual status register
 
reg = (reg & 0x3A) | setup_reg;
 
i2c_start(); // Start condition
i2c_write(SHT25_ADDR); // Device address
i2c_write(0xE6); // Write to status register
i2c_write(reg); // Device command
i2c_stop(); // Stop condition
 
delay_ms(10);
 
i2c_start(); // Start condition
i2c_write(SHT25_ADDR); // Device address
i2c_write(0xE7); // Device command
 
i2c_start(); // Start condition
i2c_write(SHT25_ADDR+1); // Device address
reg=i2c_read(0); // Read status actual status register
 
return (reg);
}
 
 
float SHT25_get_temp()
{
unsigned int8 MSB, LSB, Check;
unsigned int16 data;
 
i2c_start();
I2C_Write(SHT25_ADDR);
I2C_write(0xE3);
i2c_stop();
delay_ms(100);
i2c_start();
I2C_Write(SHT25_ADDR+1);
MSB=i2c_read(1);
LSB=i2c_read(1);
Check=i2c_read(0);
i2c_stop();
LSB = LSB >> 2; // trow out status bits
 
data = (((unsigned int16) MSB << 8) + (LSB << 4));
return(-46.85 + 175.72*((float)data/0xFFFF));
}
 
float SHT25_get_hum()
{
unsigned int8 MSB, LSB, Check;
unsigned int16 data;
 
i2c_start(); //RH
I2C_Write(SHT25_ADDR);
I2C_write(0xE5);
 
delay_ms(100);
 
i2c_start();
I2C_Write(SHT25_ADDR+1);
MSB=i2c_read(1);
LSB=i2c_read(1);
Check=i2c_read(0);
i2c_stop();
 
LSB = LSB >> 2; // trow out status bits
 
data = (((unsigned int16) MSB << 8) + (LSB << 4) );
return( -6.0 + 125.0*((float)data/0xFFFF));
}
 
/Designs/Measuring_instruments/GeoMet01A/SW/SHT25.h
0,0 → 1,13
 
#define SHT25_HEATER_ON 0x04
#define SHT25_HEATER_OFF 0x00
#define SHT25_OTP_reload_off 0x02
#define SHT25_RH12_T14 0x00
#define SHT25_RH8_T12 0x01
#define SHT25_RH10_T13 0x80
#define SHT25_RH11_T11 0x81
 
#define SHT25_ADDR 0x80
 
#include "SHT25.c"
 
/Designs/Measuring_instruments/GeoMet01A/Thermometer_Small.JPG
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/Designs/Measuring_instruments/GeoMet01A/pdf/DS18B20.pdf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property