my.dict = {
'ns': "next station is"
}
I wrote a code for serial communication, and the code is working. If i send the key 'ns' through serial port to other pc,the value "next station is" printing on the screen.
My dought is, can i send a string with the key.
ex: 'ns' abcd.
if i send 'ns' abcd through serial port, on the other pc it has to print as next station is abcd.
'ns': "next station is"
}
I wrote a code for serial communication, and the code is working. If i send the key 'ns' through serial port to other pc,the value "next station is" printing on the screen.
My dought is, can i send a string with the key.
ex: 'ns' abcd.
if i send 'ns' abcd through serial port, on the other pc it has to print as next station is abcd.