Hello everyone, Mel,
I 'm currently working on a HAM project
for my radio club involving RS-232 control
of a 434 MHz repeater transmitter. I have
a lot of data and config manus that eat up
a lot of the free space. Many HSEROUT
statements with very similar content etc.
I'd like to use something like this:
Loop:
IF Key1 = 0 THEN : I2CREAD Sda, Scl, EE_addr, B0, [STR StringVar\30] : GOSUB Msg1 : HIGH Tx
IF Key2 = 0 THEN : I2CREAD Sda, Scl, EE_addr, B0, [STR StringVar\30] : GOSUB Msg1 : LOW Tx
GOTO Loop
'*********************************
Msg1:
HSEROUT [FF,LF,CR,StringVar/30,LF,CR]
RETURN
'*********************************
My question is can I send ASCII chars
like decimal (or hex) numbers serially
via RS-232 using this method? I could
read an external eeprom, get text from
it and send it using just one HSEROUT
statement. This would cut down my
code, I guess. Ideas, suggestions?
--
Sincerest regards,
YZ7REA Vladimir M Skrbic
4N7ATV Repeater Administrator
YU7GHZ Radio Club President
Bookmarks