Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4746

How to receive and analyze text via SERIN ?

$
0
0
Hello.

I want to receive text via SERIN and do actions based on it. Like in exampole below

Code:

CIKLI:
Serin SHESVLA,N2400,MONACEMI    'READ INTO VARIABLE
if monacemi="X" then
CCP1CON = %00000000
goto cikli

this works fine, while "X" is single character, when I'd like to make it say "hamex", the code does not works.

Viewing all articles
Browse latest Browse all 4746

Trending Articles