Dear All...
I would like to put a data pulse EXTERNAL into picaxe only (ie:not user other eeprom 24xx)Please see my picture. If possible it can work, please help me to modifier my bad code. Thank you in advance for your time.
Here my bad code (just for you understand what I would like to do)I am very sorry forget put this code into##
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;picaxe 08m or other...
Main:
If pin3 = 0 then
gosub Writ
Else
gosub rea
endif
Writ:
for b0 = 0 to 63 ; start a loop
serin 3,N2400,b1 ; receive serial value;Not suitable for my project
write b0,b1 ; write value of b1 into b0
next b0 ; next loop
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Rea:
for b0 = 0 to 63 ; start a loop
read b0,b1 ; read value at b0 into b1
serout 0,N2400,(b1) ; transmit value to serial LCD receive serial value;Not suitable for my project
next b0 ; next loop
I would like to put a data pulse EXTERNAL into picaxe only (ie:not user other eeprom 24xx)Please see my picture. If possible it can work, please help me to modifier my bad code. Thank you in advance for your time.
Here my bad code (just for you understand what I would like to do)I am very sorry forget put this code into##
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;picaxe 08m or other...
Main:
If pin3 = 0 then
gosub Writ
Else
gosub rea
endif
Writ:
for b0 = 0 to 63 ; start a loop
serin 3,N2400,b1 ; receive serial value;Not suitable for my project
write b0,b1 ; write value of b1 into b0
next b0 ; next loop
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Rea:
for b0 = 0 to 63 ; start a loop
read b0,b1 ; read value at b0 into b1
serout 0,N2400,(b1) ; transmit value to serial LCD receive serial value;Not suitable for my project
next b0 ; next loop
Last edited: