Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Writing commands to serial
Post: RE: Writing commands to serial

Thank you, I managed to make it send command, but not to make the out = ser.read() print('Receiving...'+out)work. What I am trying to do is this: I wrote a code to read from Arduino ...
python_beginner General Coding Help 8 63,719 Feb-01-2018, 01:19 PM
    Thread: Writing commands to serial
Post: Writing commands to serial

Hello, I use this code to send command to an Arduino using this code from here:https://tungweilin.wordpress.com/2015/01/04/python-serial-port-communication/ import serial port = "COM4" baud = 3840...
python_beginner General Coding Help 8 63,719 Jan-30-2018, 02:41 PM
    Thread: Problem reading from serial
Post: RE: Problem reading from serial

Thank you both your help. It works now. But it prints Escape characters with the data. Is there a way to avoid that?
python_beginner General Coding Help 5 13,486 Jan-19-2018, 11:13 AM
    Thread: Problem reading from serial
Post: RE: Problem reading from serial

Thank you, I changed the command, but I still get: reset_input_buffer() NameError: name 'reset_input_buffer' is not definedI cannot understand! I import serial and time. What is wrong?
python_beginner General Coding Help 5 13,486 Jan-18-2018, 02:21 PM
    Thread: Problem reading from serial
Post: Problem reading from serial

Hello, I'm new in python. I use an Arduino to sensing, and I wrote a small python program to read the data from usb. I use Python 3.5. The program is this: #!/usr/bin/env python import serial,time se...
python_beginner General Coding Help 5 13,486 Jan-18-2018, 12:05 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020