Apr-15-2019, 03:05 AM
message = f'{message}\n' ser.write(message.encode('ascii')f-string require python 3.6 or newer
alternative:
message = '{}\n'.format(message)
Problem to sent message with pyserial and ser.write
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
write to csv file problem | jacksfrustration | 11 | 1,551 |
Nov-09-2023, 01:56 PM Last Post: deanhystad |
|
little problem with read out and write into a file | hello_its_me | 11 | 8,546 |
Sep-04-2017, 11:54 AM Last Post: wavic |