shah_siddiquee
Member
Hi i am in trouble again. I am using axe133 for lcd display. My main is axe 020. Which is 28x2 chip. I got 3 spare pins in 18m2 chip in axe133. I want to use these for defferent output. Like, i want a pulsout at pin c.0 but when program runs and comes to (serin Rx, boud, b1) this command, it stucks. Can anyone give me any suggestion about that please. I want continue pulse out from pin c.0 when there is no lcd print command. I am pasteing the main part of commands here. Problems in big letters part. Please help
Code:
* * #define use_welcome*
symbol line_length = 16
symbol baud = N2400_16
symbol RX**= C.5*
symbol enable *= C.6
symbol rs **= C.7*
EEPROM $00, (" **Serial LCD **") *
; store msg in the EEPROM memory
EEPROM $10, (" www.picaxe.com ")
*; store msg in the EEPROM memory *
EEPROM $20, ("This is msg 2 **")
*; store msg in the EEPROM memory
EEPROM $30, ("This is msg 3 **")
*; store msg in the EEPROM memory
EEPROM $40, ("This is msg 4 **")
*; store msg in the EEPROM memory
EEPROM $50, ("This is msg 5 **")
*; store msg in the EEPROM memory
EEPROM $60, ("This is msg 6 **")
*; store msg in the EEPROM memory
EEPROM $70, ("This is msg 7 **") *
; store msg in the EEPROM memory
EEPROM $80, ("This is msg 8 **") *
; store msg in the EEPROM memory
EEPROM $90, ("This is msg 9 **") *
; store msg in the EEPROM memory
EEPROM $A0, ("This is msg 10 *") *
; store msg in the EEPROM memory
EEPROM $B0, ("This is msg 11 *")
*; store msg in the EEPROM memory
EEPROM $C0, ("This is msg 12 *") *
; store msg in the EEPROM memory
EEPROM $D0, ("This is msg 13 *") *
; store msg in the EEPROM memory
EEPROM $E0, ("This is msg 14 *")
*; store msg in the EEPROM memory
EEPROM $F0, ("This is msg 15 *")
*
; display welcome message if desired
#ifdef use_welcome*
let b1 = 0*
gosub msg*** *
low rs**
let pinsB = 192**
pulsout enable,1 **
high rs***
let b1 = 1***
gosub msg***
; do it
#endif**
main: * *
[B]serin RX,baud,b1*[/B]
[SIZE=4]If b1 = 0 then
Pulsout c.0, 100
Pause 1000
Goto main
Endif *[/SIZE]
if b1 < 253 then
let pinsB = b1 **
pulsout enable,1
*
goto main***
else if b1 = 254 then
low rs
serin RX,baud,b1*
*
let pinsB = b1 **
pulsout enable,1
High rs
else if b1 = 253 then
serin RX,baud,b1**
gosub msg**
*
Last edited by a moderator: