No changes between revisions
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.bak |
---|
0,0 → 1,62 |
#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> |
#define BEEPER PIN_B5 |
int beep() |
{ |
unsigned int i; |
i=0; |
for(i=0;i<100;i++) |
{ |
output_low(BEEP); |
delay_ms(1); |
output_low(BEEP); |
delay_ms(1); |
} |
} |
void main() |
{ |
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); |
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); |
printf(lcd_putc,"LCD test"); |
lcd_gotoxy(1,2); |
printf(lcd_putc,"%c %x ",i,i); |
i++; |
beep(); |
Delay_ms(500); |
} |
} |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.c |
---|
9,6 → 9,23 |
#define LCD_DATA7 PIN_D7 |
#include <lcd.c> |
#define BEEPER PIN_B5 |
int beep() |
{ |
unsigned int i; |
i=0; |
for(i=0;i<100;i++) |
{ |
output_low(BEEPER); |
delay_ms(1); |
output_high(BEEPER); |
delay_ms(1); |
} |
} |
void main() |
{ |
int16 i=0; |
38,7 → 55,7 |
lcd_gotoxy(1,2); |
printf(lcd_putc,"%c %x ",i,i); |
i++; |
beep(); |
Delay_ms(500); |
} |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/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 |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.err |
---|
0,0 → 1,3 |
>>> Warning 208 "main.c" Line 14(5,9): Function not void and does not return a value beep |
Memory usage: ROM=8% RAM=2% - 6% |
0 Errors, 1 Warnings. |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.esym |
---|
0,0 → 1,460 |
D G "__PCM__" 0 64 ""4.106"" |
D G "__DEVICE__" 0 64 "887" |
D G "__DATE__" 0 64 ""27-4-14"" |
D G "__TIME__" 0 64 ""20:11:56"" "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 "BEEPER" 0 12 "PIN_B5" |
F G "beep" 0 14 "int8()" |
V L "i" 0 16 "int8" |
F G "MAIN" 0 29 "void()" |
V L "i" 0 31 "int16" |
C L "MAIN" 0 40 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 |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.hex |
---|
1,4 → 1,4 |
:1000000001308A00CC2900000A108A100A118207E8 |
:1000000001308A00E52900000A108A100A118207CF |
:1000100028340C3401340634A8312910CB306B3627 |
:10002000E9352019B0183300F73B77176D36613189 |
:10003000AE317A00CC214410F432733A00012730FB |
55,31 → 55,34 |
:1003600077020318B6293030F707B8292408F707B1 |
:100370007708A60036210F30A3050A3023020318A0 |
:10038000C3293030C529A4132408A3072308A600D5 |
:1003900036218A110A12742A840183131F308305BF |
:1003A000713083168F000F08031787110C30031369 |
:1003B0009900A2309800903083129800831603179A |
:1003C0000908C039890003131F129F120030031758 |
:1003D00088008312870188018901FF300313A00080 |
:1003E000A201A101831603170908C039890003136C |
:1003F0001F129F12003003178800831203131F136C |
:100400009F1383169F1783121F149412A0122008A3 |
:100410008316870083122016200883168700831214 |
:10042000A011200883168700013083129400003049 |
:10043000831694000108C73908388100831290019F |
:100440000030F800920000308316920083122015CD |
:100450002008831687008312970183169B019C0155 |
:1004600001309D00831203178701880189017130D3 |
:10047000831603138F000F088312EC200C30031730 |
:100480008D0000308F00031363210330A70002307A |
:10049000A8002421143003178D0000308F000313AF |
:1004A00063210830A300FA30A7001F20A30B532AB2 |
:1004B000EC200130A700A80024211A3003178D007A |
:1004C00000308F00031363210130A7000230A80021 |
:1004D00024212108A60036212030A600362121083B |
:1004E000A3005730A400A9292030A6003621A10A74 |
:1004F0000319A20A0430A300FA30A7001F20A30B9F |
:060500007C2A592A630069 |
:1003900036218A110A128D2AA301A3012308633C86 |
:1003A000031CE22983168612831286120130A700ED |
:1003B0001F2083168612831286160130A7001F2085 |
:1003C000A30ACE298A110A12942A840183131F30AA |
:1003D0008305713083168F000F08031787110C30C7 |
:1003E00003139900A230980090308312980083166E |
:1003F00003170908C039890003131F129F12003028 |
:10040000031788008312870188018901FF300313D5 |
:10041000A000A201A101831603170908C0398900B1 |
:1004200003131F129F120030031788008312031357 |
:100430001F139F1383169F1783121F149412A01269 |
:100440002008831687008312201620088316870051 |
:100450008312A011200883168700013083129400B4 |
:100460000030831694000108C739083881008312D0 |
:1004700090010030F8009200003083169200831241 |
:1004800020152008831687008312970183169B018D |
:100490009C0101309D0083120317870188018901A7 |
:1004A0007130831603138F000F088312EC200C3079 |
:1004B00003178D0000308F00031363210330A70062 |
:1004C0000230A8002421143003178D0000308F0063 |
:1004D000031363210830A300FA30A7001F20A30BE9 |
:1004E0006C2AEC200130A700A80024211A30031741 |
:1004F0008D0000308F00031363210130A70002300C |
:10050000A80024212108A60036212030A60036218B |
:100510002108A3005730A400A9292030A6003621C5 |
:10052000A10A0319A20ACC290230A300FA30A700BD |
:0A0530001F20A30B962A722A630015 |
:04400E00F52CFF3F4F |
:00000001FF |
;PIC16F887 |
;CRC=CD35 CREATED="10-IX-13 13:38" |
;CRC=C148 CREATED="27-4-14 20:11" |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.lst |
---|
0,0 → 1,1053 |
CCS PCM C Compiler, Version 4.106, 47914 27-4-14 20:11 |
Filename: D:\Honza\MLAB\Modules\HumanInterfaces\LCD2L4P02A\SW\PIC\PIC16F887\main.lst |
ROM used: 669 words (8%) |
Largest free fragment is 2048 |
RAM used: 9 (2%) at main() level |
22 (6%) worst case |
Stack: 5 locations |
* |
0000: MOVLW 01 |
0001: MOVWF 0A |
0002: GOTO 1E5 |
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) |
* |
001F: MOVLW 27 |
0020: MOVWF 04 |
0021: BCF 03.7 |
0022: MOVF 00,W |
0023: BTFSC 03.2 |
0024: GOTO 032 |
0025: MOVLW 02 |
0026: MOVWF 78 |
0027: CLRF 77 |
0028: DECFSZ 77,F |
0029: GOTO 028 |
002A: DECFSZ 78,F |
002B: GOTO 027 |
002C: MOVLW 97 |
002D: MOVWF 77 |
002E: DECFSZ 77,F |
002F: GOTO 02E |
0030: DECFSZ 00,F |
0031: GOTO 025 |
0032: RETURN |
.................... #use i2c(master, sda=PIN_C4, scl=PIN_C3) |
.................... #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); |
* |
0098: BSF 08.4 |
.................... output_float(LCD_DATA5); |
0099: BSF 08.5 |
.................... output_float(LCD_DATA6); |
009A: BSF 08.6 |
.................... output_float(LCD_DATA7); |
009B: BSF 08.7 |
.................... #else |
.................... lcdtris.data = 0xF; |
.................... #endif |
.................... #endif |
.................... |
.................... lcd_output_rw(1); |
009C: BCF 03.5 |
009D: BSF 09.2 |
009E: BSF 03.5 |
009F: BCF 09.2 |
.................... delay_cycles(1); |
00A0: NOP |
.................... lcd_output_enable(1); |
00A1: BCF 03.5 |
00A2: BSF 09.0 |
00A3: BSF 03.5 |
00A4: BCF 09.0 |
.................... delay_cycles(1); |
00A5: NOP |
.................... high = lcd_read_nibble(); |
00A6: BCF 03.5 |
00A7: CALL 05F |
00A8: MOVF 78,W |
00A9: MOVWF 2E |
.................... |
.................... lcd_output_enable(0); |
00AA: BCF 09.0 |
00AB: BSF 03.5 |
00AC: BCF 09.0 |
.................... delay_cycles(1); |
00AD: NOP |
.................... lcd_output_enable(1); |
00AE: BCF 03.5 |
00AF: BSF 09.0 |
00B0: BSF 03.5 |
00B1: BCF 09.0 |
.................... delay_us(1); |
00B2: GOTO 0B3 |
.................... low = lcd_read_nibble(); |
00B3: BCF 03.5 |
00B4: CALL 05F |
00B5: MOVF 78,W |
00B6: MOVWF 2D |
.................... |
.................... lcd_output_enable(0); |
00B7: BCF 09.0 |
00B8: BSF 03.5 |
00B9: 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); |
00BA: BCF 08.4 |
.................... output_drive(LCD_DATA5); |
00BB: BCF 08.5 |
.................... output_drive(LCD_DATA6); |
00BC: BCF 08.6 |
.................... output_drive(LCD_DATA7); |
00BD: BCF 08.7 |
.................... #else |
.................... lcdtris.data = 0x0; |
.................... #endif |
.................... #endif |
.................... |
.................... return( (high<<4) | low); |
00BE: BCF 03.5 |
00BF: SWAPF 2E,W |
00C0: MOVWF 77 |
00C1: MOVLW F0 |
00C2: ANDWF 77,F |
00C3: MOVF 77,W |
00C4: IORWF 2D,W |
00C5: MOVWF 78 |
.................... } |
.................... |
.................... BYTE lcd_read_nibble(void) |
.................... { |
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7)) |
* |
005F: CLRF 2F |
.................... BYTE n = 0x00; |
.................... |
.................... /* Read the data port */ |
.................... n |= input(LCD_DATA4); |
0060: BSF 03.5 |
0061: BSF 08.4 |
0062: MOVLW 00 |
0063: BCF 03.5 |
0064: BTFSC 08.4 |
0065: MOVLW 01 |
0066: IORWF 2F,F |
.................... n |= input(LCD_DATA5) << 1; |
0067: BSF 03.5 |
0068: BSF 08.5 |
0069: MOVLW 00 |
006A: BCF 03.5 |
006B: BTFSC 08.5 |
006C: MOVLW 01 |
006D: MOVWF 77 |
006E: BCF 03.0 |
006F: RLF 77,F |
0070: MOVF 77,W |
0071: IORWF 2F,F |
.................... n |= input(LCD_DATA6) << 2; |
0072: BSF 03.5 |
0073: BSF 08.6 |
0074: MOVLW 00 |
0075: BCF 03.5 |
0076: BTFSC 08.6 |
0077: MOVLW 01 |
0078: MOVWF 77 |
0079: RLF 77,F |
007A: RLF 77,F |
007B: MOVLW FC |
007C: ANDWF 77,F |
007D: MOVF 77,W |
007E: IORWF 2F,F |
.................... n |= input(LCD_DATA7) << 3; |
007F: BSF 03.5 |
0080: BSF 08.7 |
0081: MOVLW 00 |
0082: BCF 03.5 |
0083: BTFSC 08.7 |
0084: MOVLW 01 |
0085: MOVWF 77 |
0086: RLF 77,F |
0087: RLF 77,F |
0088: RLF 77,F |
0089: MOVLW F8 |
008A: ANDWF 77,F |
008B: MOVF 77,W |
008C: IORWF 2F,F |
.................... |
.................... return(n); |
008D: MOVF 2F,W |
008E: MOVWF 78 |
.................... #else |
.................... return(lcd.data); |
.................... #endif |
.................... } |
008F: 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)); |
* |
0033: BTFSC 2E.0 |
0034: GOTO 037 |
0035: BCF 08.4 |
0036: GOTO 038 |
0037: BSF 08.4 |
0038: BSF 03.5 |
0039: BCF 08.4 |
.................... output_bit(LCD_DATA5, bit_test(n, 1)); |
003A: BCF 03.5 |
003B: BTFSC 2E.1 |
003C: GOTO 03F |
003D: BCF 08.5 |
003E: GOTO 040 |
003F: BSF 08.5 |
0040: BSF 03.5 |
0041: BCF 08.5 |
.................... output_bit(LCD_DATA6, bit_test(n, 2)); |
0042: BCF 03.5 |
0043: BTFSC 2E.2 |
0044: GOTO 047 |
0045: BCF 08.6 |
0046: GOTO 048 |
0047: BSF 08.6 |
0048: BSF 03.5 |
0049: BCF 08.6 |
.................... output_bit(LCD_DATA7, bit_test(n, 3)); |
004A: BCF 03.5 |
004B: BTFSC 2E.3 |
004C: GOTO 04F |
004D: BCF 08.7 |
004E: GOTO 050 |
004F: BSF 08.7 |
0050: BSF 03.5 |
0051: BCF 08.7 |
.................... #else |
.................... lcdlat.data = n; |
.................... #endif |
.................... |
.................... delay_cycles(1); |
0052: NOP |
.................... lcd_output_enable(1); |
0053: BCF 03.5 |
0054: BSF 09.0 |
0055: BSF 03.5 |
0056: BCF 09.0 |
.................... delay_us(2); |
0057: GOTO 058 |
0058: GOTO 059 |
.................... lcd_output_enable(0); |
0059: BCF 03.5 |
005A: BCF 09.0 |
005B: BSF 03.5 |
005C: BCF 09.0 |
.................... } |
005D: BCF 03.5 |
005E: RETURN |
.................... |
.................... void lcd_send_byte(BYTE address, BYTE n) |
.................... { |
.................... #if defined(__PCB__) |
.................... set_tris_lcd(LCD_OUTPUT_MAP); |
.................... #else |
.................... lcd_enable_tris(); |
* |
0090: BSF 03.5 |
0091: BCF 09.0 |
.................... lcd_rs_tris(); |
0092: BCF 09.1 |
.................... lcd_rw_tris(); |
0093: BCF 09.2 |
.................... #endif |
.................... |
.................... lcd_output_rs(0); |
0094: BCF 03.5 |
0095: BCF 09.1 |
0096: BSF 03.5 |
0097: BCF 09.1 |
.................... while ( bit_test(lcd_read_byte(),7) ) ; |
* |
00C6: MOVF 78,W |
00C7: MOVWF 2D |
00C8: BTFSS 2D.7 |
00C9: GOTO 0CC |
00CA: BSF 03.5 |
00CB: GOTO 098 |
.................... lcd_output_rs(address); |
00CC: MOVF 2B,F |
00CD: BTFSS 03.2 |
00CE: GOTO 0D1 |
00CF: BCF 09.1 |
00D0: GOTO 0D2 |
00D1: BSF 09.1 |
00D2: BSF 03.5 |
00D3: BCF 09.1 |
.................... delay_cycles(1); |
00D4: NOP |
.................... lcd_output_rw(0); |
00D5: BCF 03.5 |
00D6: BCF 09.2 |
00D7: BSF 03.5 |
00D8: BCF 09.2 |
.................... delay_cycles(1); |
00D9: NOP |
.................... lcd_output_enable(0); |
00DA: BCF 03.5 |
00DB: BCF 09.0 |
00DC: BSF 03.5 |
00DD: BCF 09.0 |
.................... lcd_send_nibble(n >> 4); |
00DE: BCF 03.5 |
00DF: SWAPF 2C,W |
00E0: MOVWF 2D |
00E1: MOVLW 0F |
00E2: ANDWF 2D,F |
00E3: MOVF 2D,W |
00E4: MOVWF 2E |
00E5: CALL 033 |
.................... lcd_send_nibble(n & 0xf); |
00E6: MOVF 2C,W |
00E7: ANDLW 0F |
00E8: MOVWF 2D |
00E9: MOVWF 2E |
00EA: CALL 033 |
.................... } |
00EB: 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); |
00EC: BSF 03.5 |
00ED: BCF 08.4 |
.................... output_drive(LCD_DATA5); |
00EE: BCF 08.5 |
.................... output_drive(LCD_DATA6); |
00EF: BCF 08.6 |
.................... output_drive(LCD_DATA7); |
00F0: BCF 08.7 |
.................... #else |
.................... lcdtris.data = 0x0; |
.................... #endif |
.................... lcd_enable_tris(); |
00F1: BCF 09.0 |
.................... lcd_rs_tris(); |
00F2: BCF 09.1 |
.................... lcd_rw_tris(); |
00F3: BCF 09.2 |
.................... #endif |
.................... |
.................... lcd_output_rs(0); |
00F4: BCF 03.5 |
00F5: BCF 09.1 |
00F6: BSF 03.5 |
00F7: BCF 09.1 |
.................... lcd_output_rw(0); |
00F8: BCF 03.5 |
00F9: BCF 09.2 |
00FA: BSF 03.5 |
00FB: BCF 09.2 |
.................... lcd_output_enable(0); |
00FC: BCF 03.5 |
00FD: BCF 09.0 |
00FE: BSF 03.5 |
00FF: BCF 09.0 |
.................... |
.................... delay_ms(15); |
0100: MOVLW 0F |
0101: BCF 03.5 |
0102: MOVWF 27 |
0103: CALL 01F |
.................... for(i=1;i<=3;++i) |
0104: MOVLW 01 |
0105: MOVWF 23 |
0106: MOVF 23,W |
0107: SUBLW 03 |
0108: BTFSS 03.0 |
0109: GOTO 112 |
.................... { |
.................... lcd_send_nibble(3); |
010A: MOVLW 03 |
010B: MOVWF 2E |
010C: CALL 033 |
.................... delay_ms(5); |
010D: MOVLW 05 |
010E: MOVWF 27 |
010F: CALL 01F |
.................... } |
0110: INCF 23,F |
0111: GOTO 106 |
.................... |
.................... lcd_send_nibble(2); |
0112: MOVLW 02 |
0113: MOVWF 2E |
0114: CALL 033 |
.................... for(i=0;i<=3;++i) |
0115: CLRF 23 |
0116: MOVF 23,W |
0117: SUBLW 03 |
0118: BTFSS 03.0 |
0119: GOTO 123 |
.................... lcd_send_byte(0,LCD_INIT_STRING[i]); |
011A: MOVF 23,W |
011B: CALL 004 |
011C: MOVWF 24 |
011D: CLRF 2B |
011E: MOVF 24,W |
011F: MOVWF 2C |
0120: CALL 090 |
.................... |
.................... #if defined(LCD_EXTENDED_NEWLINE) |
0121: INCF 23,F |
0122: GOTO 116 |
.................... g_LcdX = 0; |
.................... g_LcdY = 0; |
.................... #endif |
.................... } |
0123: RETURN |
.................... |
.................... void lcd_gotoxy(BYTE x, BYTE y) |
.................... { |
.................... BYTE address; |
.................... |
.................... if(y!=1) |
0124: DECFSZ 28,W |
0125: GOTO 127 |
0126: GOTO 12A |
.................... address=LCD_LINE_TWO; |
0127: MOVLW 40 |
0128: MOVWF 29 |
.................... else |
0129: GOTO 12B |
.................... address=0; |
012A: CLRF 29 |
.................... |
.................... address+=x-1; |
012B: MOVLW 01 |
012C: SUBWF 27,W |
012D: ADDWF 29,F |
.................... lcd_send_byte(0,0x80|address); |
012E: MOVF 29,W |
012F: IORLW 80 |
0130: MOVWF 2A |
0131: CLRF 2B |
0132: MOVF 2A,W |
0133: MOVWF 2C |
0134: CALL 090 |
.................... |
.................... #if defined(LCD_EXTENDED_NEWLINE) |
.................... g_LcdX = x - 1; |
.................... g_LcdY = y - 1; |
.................... #endif |
.................... } |
0135: RETURN |
.................... |
.................... void lcd_putc(char c) |
.................... { |
.................... switch (c) |
.................... { |
0136: MOVF 26,W |
0137: XORLW 07 |
0138: BTFSC 03.2 |
0139: GOTO 144 |
013A: XORLW 0B |
013B: BTFSC 03.2 |
013C: GOTO 149 |
013D: XORLW 06 |
013E: BTFSC 03.2 |
013F: GOTO 151 |
0140: XORLW 02 |
0141: BTFSC 03.2 |
0142: GOTO 157 |
0143: GOTO 15C |
.................... case '\a' : lcd_gotoxy(1,1); break; |
0144: MOVLW 01 |
0145: MOVWF 27 |
0146: MOVWF 28 |
0147: CALL 124 |
0148: GOTO 162 |
.................... |
.................... case '\f' : lcd_send_byte(0,1); |
0149: CLRF 2B |
014A: MOVLW 01 |
014B: MOVWF 2C |
014C: CALL 090 |
.................... delay_ms(2); |
014D: MOVLW 02 |
014E: MOVWF 27 |
014F: CALL 01F |
.................... #if defined(LCD_EXTENDED_NEWLINE) |
.................... g_LcdX = 0; |
.................... g_LcdY = 0; |
.................... #endif |
.................... break; |
0150: GOTO 162 |
.................... |
.................... #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; |
0151: MOVLW 01 |
0152: MOVWF 27 |
0153: MOVLW 02 |
0154: MOVWF 28 |
0155: CALL 124 |
0156: GOTO 162 |
.................... #endif |
.................... |
.................... case '\b' : lcd_send_byte(0,0x10); break; |
0157: CLRF 2B |
0158: MOVLW 10 |
0159: MOVWF 2C |
015A: CALL 090 |
015B: GOTO 162 |
.................... |
.................... #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; |
015C: MOVLW 01 |
015D: MOVWF 2B |
015E: MOVF 26,W |
015F: MOVWF 2C |
0160: CALL 090 |
0161: GOTO 162 |
.................... #endif |
.................... } |
.................... } |
0162: 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); |
.................... } |
.................... |
.................... |
.................... #define BEEPER PIN_B5 |
.................... |
.................... int beep() |
.................... { |
.................... unsigned int i; |
.................... |
.................... i=0; |
* |
01CC: CLRF 23 |
.................... for(i=0;i<100;i++) |
01CD: CLRF 23 |
01CE: MOVF 23,W |
01CF: SUBLW 63 |
01D0: BTFSS 03.0 |
01D1: GOTO 1E2 |
.................... { |
.................... output_low(BEEPER); |
01D2: BSF 03.5 |
01D3: BCF 06.5 |
01D4: BCF 03.5 |
01D5: BCF 06.5 |
.................... delay_ms(1); |
01D6: MOVLW 01 |
01D7: MOVWF 27 |
01D8: CALL 01F |
.................... output_high(BEEPER); |
01D9: BSF 03.5 |
01DA: BCF 06.5 |
01DB: BCF 03.5 |
01DC: BSF 06.5 |
.................... delay_ms(1); |
01DD: MOVLW 01 |
01DE: MOVWF 27 |
01DF: CALL 01F |
.................... } |
01E0: INCF 23,F |
01E1: GOTO 1CE |
.................... } |
01E2: BCF 0A.3 |
01E3: BCF 0A.4 |
01E4: GOTO 294 (RETURN) |
.................... |
.................... |
.................... void main() |
.................... { |
01E5: CLRF 04 |
01E6: BCF 03.7 |
01E7: MOVLW 1F |
01E8: ANDWF 03,F |
01E9: MOVLW 71 |
01EA: BSF 03.5 |
01EB: MOVWF 0F |
01EC: MOVF 0F,W |
01ED: BSF 03.6 |
01EE: BCF 07.3 |
01EF: MOVLW 0C |
01F0: BCF 03.6 |
01F1: MOVWF 19 |
01F2: MOVLW A2 |
01F3: MOVWF 18 |
01F4: MOVLW 90 |
01F5: BCF 03.5 |
01F6: MOVWF 18 |
01F7: BSF 03.5 |
01F8: BSF 03.6 |
01F9: MOVF 09,W |
01FA: ANDLW C0 |
01FB: MOVWF 09 |
01FC: BCF 03.6 |
01FD: BCF 1F.4 |
01FE: BCF 1F.5 |
01FF: MOVLW 00 |
0200: BSF 03.6 |
0201: MOVWF 08 |
0202: BCF 03.5 |
0203: CLRF 07 |
0204: CLRF 08 |
0205: CLRF 09 |
* |
0209: CLRF 22 |
020A: CLRF 21 |
.................... int16 i=0; |
.................... |
.................... setup_adc_ports(NO_ANALOGS|VSS_VDD); |
020B: BSF 03.5 |
020C: BSF 03.6 |
020D: MOVF 09,W |
020E: ANDLW C0 |
020F: MOVWF 09 |
0210: BCF 03.6 |
0211: BCF 1F.4 |
0212: BCF 1F.5 |
0213: MOVLW 00 |
0214: BSF 03.6 |
0215: MOVWF 08 |
.................... setup_adc(ADC_CLOCK_DIV_2); |
0216: BCF 03.5 |
0217: BCF 03.6 |
0218: BCF 1F.6 |
0219: BCF 1F.7 |
021A: BSF 03.5 |
021B: BSF 1F.7 |
021C: BCF 03.5 |
021D: BSF 1F.0 |
.................... setup_spi(SPI_SS_DISABLED); |
021E: BCF 14.5 |
021F: BCF 20.5 |
0220: MOVF 20,W |
0221: BSF 03.5 |
0222: MOVWF 07 |
0223: BCF 03.5 |
0224: BSF 20.4 |
0225: MOVF 20,W |
0226: BSF 03.5 |
0227: MOVWF 07 |
0228: BCF 03.5 |
0229: BCF 20.3 |
022A: MOVF 20,W |
022B: BSF 03.5 |
022C: MOVWF 07 |
022D: MOVLW 01 |
022E: BCF 03.5 |
022F: MOVWF 14 |
0230: MOVLW 00 |
0231: BSF 03.5 |
0232: MOVWF 14 |
.................... setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1); |
0233: MOVF 01,W |
0234: ANDLW C7 |
0235: IORLW 08 |
0236: MOVWF 01 |
.................... setup_timer_1(T1_DISABLED); |
0237: BCF 03.5 |
0238: CLRF 10 |
.................... setup_timer_2(T2_DISABLED,0,1); |
0239: MOVLW 00 |
023A: MOVWF 78 |
023B: MOVWF 12 |
023C: MOVLW 00 |
023D: BSF 03.5 |
023E: MOVWF 12 |
.................... setup_ccp1(CCP_OFF); |
023F: BCF 03.5 |
0240: BSF 20.2 |
0241: MOVF 20,W |
0242: BSF 03.5 |
0243: MOVWF 07 |
0244: BCF 03.5 |
0245: CLRF 17 |
0246: BSF 03.5 |
0247: CLRF 1B |
0248: CLRF 1C |
0249: MOVLW 01 |
024A: MOVWF 1D |
.................... setup_comparator(NC_NC_NC_NC); // This device COMP currently not supported by the PICWizard |
024B: BCF 03.5 |
024C: BSF 03.6 |
024D: CLRF 07 |
024E: CLRF 08 |
024F: CLRF 09 |
.................... setup_oscillator(OSC_8MHZ); |
0250: MOVLW 71 |
0251: BSF 03.5 |
0252: BCF 03.6 |
0253: MOVWF 0F |
0254: MOVF 0F,W |
.................... |
.................... lcd_init(); |
0255: BCF 03.5 |
0256: CALL 0EC |
.................... lcd_putc("(c) Kaklik 2013"); |
0257: MOVLW 0C |
0258: BSF 03.6 |
0259: MOVWF 0D |
025A: MOVLW 00 |
025B: MOVWF 0F |
025C: BCF 03.6 |
025D: CALL 163 |
.................... lcd_gotoxy(3,2); |
025E: MOVLW 03 |
025F: MOVWF 27 |
0260: MOVLW 02 |
0261: MOVWF 28 |
0262: CALL 124 |
.................... lcd_putc("www.mlab.cz"); |
0263: MOVLW 14 |
0264: BSF 03.6 |
0265: MOVWF 0D |
0266: MOVLW 00 |
0267: MOVWF 0F |
0268: BCF 03.6 |
0269: CALL 163 |
.................... Delay_ms(2000); |
026A: MOVLW 08 |
026B: MOVWF 23 |
026C: MOVLW FA |
026D: MOVWF 27 |
026E: CALL 01F |
026F: DECFSZ 23,F |
0270: GOTO 26C |
.................... lcd_init(); |
0271: CALL 0EC |
.................... |
.................... while (TRUE) |
.................... { |
.................... lcd_gotoxy(1,1); |
0272: MOVLW 01 |
0273: MOVWF 27 |
0274: MOVWF 28 |
0275: CALL 124 |
.................... |
.................... printf(lcd_putc,"LCD test"); |
0276: MOVLW 1A |
0277: BSF 03.6 |
0278: MOVWF 0D |
0279: MOVLW 00 |
027A: MOVWF 0F |
027B: BCF 03.6 |
027C: CALL 163 |
.................... lcd_gotoxy(1,2); |
027D: MOVLW 01 |
027E: MOVWF 27 |
027F: MOVLW 02 |
0280: MOVWF 28 |
0281: CALL 124 |
.................... printf(lcd_putc,"%c %x ",i,i); |
0282: MOVF 21,W |
0283: MOVWF 26 |
0284: CALL 136 |
0285: MOVLW 20 |
0286: MOVWF 26 |
0287: CALL 136 |
0288: MOVF 21,W |
0289: MOVWF 23 |
028A: MOVLW 57 |
028B: MOVWF 24 |
028C: GOTO 1A9 |
028D: MOVLW 20 |
028E: MOVWF 26 |
028F: CALL 136 |
.................... i++; |
0290: INCF 21,F |
0291: BTFSC 03.2 |
0292: INCF 22,F |
.................... beep(); |
0293: GOTO 1CC |
.................... Delay_ms(500); |
0294: MOVLW 02 |
0295: MOVWF 23 |
0296: MOVLW FA |
0297: MOVWF 27 |
0298: CALL 01F |
0299: DECFSZ 23,F |
029A: GOTO 296 |
.................... } |
029B: GOTO 272 |
.................... |
.................... } |
029C: SLEEP |
Configuration Fuses: |
Word 1: 2CF5 INTRC NOWDT NOPUT MCLR NOPROTECT NOCPD NOBROWNOUT IESO FCMEN NOLVP NODEBUG |
Word 2: 3FFF NOWRT BORV40 |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.sta |
---|
0,0 → 1,62 |
ROM used: 669 (8%) |
669 (8%) including unused fragments |
1 Average locations per line |
6 Average locations per statement |
RAM used: 9 (2%) at main() level |
22 (6%) worst case |
Stack used: 5 worst case (out of 8 total available) |
Lines Stmts % Files |
----- ----- --- ----- |
63 31 26 main.c |
22 0 0 main.h |
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h |
408 88 74 C:\Program Files (x86)\PICC\drivers\lcd.c |
----- ----- |
916 119 Total |
Page ROM % RAM Vol Diff Functions: |
---- --- --- --- --- ---- ---------- |
0 20 3 1 @delay_ms1 |
0 8 1 0 @const80 |
Inline 3 751 4.5 lcd_read_byte |
0 49 7 2 254 3.7 lcd_read_nibble |
0 44 7 1 391 2.4 lcd_send_nibble |
0 92 14 3 402 3.6 lcd_send_byte |
0 56 8 2 666 5.0 lcd_init |
0 18 3 4 191 5.8 lcd_gotoxy |
0 45 7 1 354 4.7 lcd_putc |
0 25 4 1 185 3.1 beep |
0 184 28 3 707 3.8 MAIN |
0 8 1 0 @const109 |
0 70 10 3 @PSTRINGC7_98 |
0 6 1 0 @const111 |
0 5 1 0 @const112 |
0 35 5 2 @PRINTF_X_98 |
Program metrics: |
Functions 9 |
Statements 119 |
Comments 172 |
Volume (V) 6043 |
Difficilty (D) 35.6 |
Effort to implement (E) 215138 |
Time to implement (T) 3 hours, 19 minutes |
Est Delivered Bugs (B) 1 |
Cyclomatic Complexity 9 |
Maintainability (MI) 119 |
Segment Used Free |
----------- ---- ---- |
00000-00003 4 0 |
00004-007FF 665 1379 |
00800-00FFF 0 2048 |
01000-017FF 0 2048 |
01800-01FFF 0 2048 |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.sym |
---|
0,0 → 1,98 |
004-005 @READ_PROGRAM_MEMORY8.P1 |
004 @WRITE_PROGRAM_MEMORY8.P2 |
015 CCP_1_LOW |
015 CCP_1 |
016 CCP_1_HIGH |
01B CCP_2 |
01B CCP_2_LOW |
01C CCP_2_HIGH |
020 @TRIS_C |
021-022 MAIN.i |
023 lcd_init.i |
023 beep.i |
023 @PRINTF_X_98.P1 |
023 MAIN.@SCRATCH1 |
023 @PSTRINGC7_98.@SCRATCH1 |
024 @PRINTF_X_98.P1 |
024 lcd_init.@SCRATCH1 |
024 @PSTRINGC7_98.@SCRATCH2 |
025 @PSTRINGC7_98.@SCRATCH3 |
026 lcd_putc.c |
027 @delay_ms1.P1 |
027 lcd_gotoxy.x |
028 lcd_gotoxy.y |
029 lcd_gotoxy.address |
02A lcd_gotoxy.@SCRATCH1 |
02B lcd_send_byte.address |
02C lcd_send_byte.n |
02D lcd_read_byte.low |
02D lcd_send_byte.@SCRATCH1 |
02E lcd_send_nibble.n |
02E lcd_read_byte.high |
02F lcd_read_nibble.n |
02F lcd_read_byte.@SCRATCH1 |
030 lcd_read_nibble.@SCRATCH1 |
077 @SCRATCH |
078 @SCRATCH |
078 _RETURN_ |
079 @SCRATCH |
07A @SCRATCH |
107.6 C1OUT |
108.6 C2OUT |
10D-10E @READ_PROGRAM_MEMORY8.P1 |
10D-10E @WRITE_PROGRAM_MEMORY8.P2 |
ROM Allocation: |
001F @delay_ms1 |
0004 LCD_INIT_STRING |
0098 lcd_read_byte |
005F lcd_read_nibble |
0033 lcd_send_nibble |
0090 lcd_send_byte |
00EC lcd_init |
0124 lcd_gotoxy |
0136 lcd_putc |
01CC beep |
01E5 MAIN |
000C @const109 |
0163 @PSTRINGC7_98 |
0014 @const111 |
001A @const112 |
01A9 @PRINTF_X_98 |
01E5 @cinit |
User Memory space: |
User Memory space: |
Project Directory: |
D:\Honza\MLAB\Modules\HumanInterfaces\LCD2L4P02A\SW\PIC\PIC16F887\ |
Project Files: |
main.c |
main.h |
C:\Program Files (x86)\PICC\devices\16F887.h |
C:\Program Files (x86)\PICC\drivers\lcd.c |
Units: |
D:\Honza\MLAB\Modules\HumanInterfaces\LCD2L4P02A\SW\PIC\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 |
/Modules/HumanInterfaces/LCD2L4P02A/SW/PIC/PIC16F887/main.tre |
---|
0,0 → 1,431 |
ÀÄmain |
ÀÄMAIN 0/184 Ram=3 |
ÃÄ??0?? |
ÃÄ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 |
ÃÄ@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 |
ÃÄ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_X_98 0/35 Ram=2 |
³ ÃÄ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 |
ÃÄbeep 0/25 Ram=1 |
³ ÃÄ@delay_ms1 0/20 Ram=1 |
³ ÀÄ@delay_ms1 0/20 Ram=1 |
ÀÄ@delay_ms1 0/20 Ram=1 |