hold macro ;delay macro for I2C
nop
nop
nop
endm
disp_str macro string ;Macro for sending string to LCD
irpc char, <string>
if nul 'char'
exitm
endif
mov a,#'char'
lcall data_in
endm
endm
interfacing ds1307 with 8051 cant understand this macro i got from net...can anyone help??
nop
nop
nop
endm
disp_str macro string ;Macro for sending string to LCD
irpc char, <string>
if nul 'char'
exitm
endif
mov a,#'char'
lcall data_in
endm
endm
interfacing ds1307 with 8051 cant understand this macro i got from net...can anyone help??