Hi,
I want to make a communication between my PC and 20X2. For this, I have connected the Serial In pin (which is already connected to the programming cable and works fine) to pin C.7 (is this ok?)
What I am looking for is using a terminal window send the word 'go' to the chip and if chip receives this word it should begin the work.
I came up with the following code, but by considering that I am a total noob, it is not working:
I want to make a communication between my PC and 20X2. For this, I have connected the Serial In pin (which is already connected to the programming cable and works fine) to pin C.7 (is this ok?)
What I am looking for is using a terminal window send the word 'go' to the chip and if chip receives this word it should begin the work.
I came up with the following code, but by considering that I am a total noob, it is not working:
Code:
serin c.7,9600,("go")
if c.7 = "go" then goto main