We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97ac7e5 commit c7228d5Copy full SHA for c7228d5
documentation/shortintro.rst
@@ -8,8 +8,8 @@ Example::
8
def connection_made(self, transport):
9
self.transport = transport
10
print('port opened', transport)
11
- transport.serial.rts = False
12
- transport.write(b'hello world\n')
+ transport.serial.rts = False # You can manipulate Serial object via transport
+ transport.write(b'Hello, World!\n') # Write serial data via transport
13
14
def data_received(self, data):
15
print('data received', repr(data))
0 commit comments