LCDOUT and the second line...
My books haven't arrived yet so I'm trudging on "Learn by example" style, so nudges will suffice.
What I'm thinking: I'd like my circuit to LCDOUT on line 1 (message on steady) and maybe have the 2nd line flash the "CHECK AUTO MODE" indicating a problem with "Auto" mode. Is there a way to clear the second line of the display only so I can pause/clear/resend to flash the message to the second line until the program jumps out of the current condition?
Mess2: LCDOUT $fe, 1, "AUTO MODE" : RETURN 'Auto mode ok
Mess3: LCDOUT $fe, 1, "MANUAL MODE" 'Atuo mode messed up
LCDOUT $c0 , "CHECK AUTO MODE" 'Flash this part of the message
Gosub Beep1 : RETURN
Even a step further and have it beep 3 times. Will the REPEAT command serve me here?
Beep1: Sound PORTC.2 [100,30] 'beep 3 times and quit and maybe wait 10 minutes and beep 3 times, etc...
S = 0
Repeat Beep1 = 0
S = S + 1
Until S > 4 : RETURN
I am looking at the output of Optos to let me know what's available
Used to write Basic when a kid, not sure what I can get away with in PicBasic pro, e.g. Nested loops and what not. Need my books....
Pic16F870 pinout
_._
RB7 - MPB (Sw1) Menu?
RB6 - SPDT (Sw2)
RB5 - LCD En
RB4 - LCD Rs
RB3 - LCD DB7
RB2 - LCD DB6
RB1 - LCD DB5
RB0 - LCD DB4
Vdd
Vss
RC7 -
RC6 - Piezo Spkr
RC5 - 1/4 Opto in
RC4 - 1/4 Opto in
RC3 - 1/4 Opto in