I apologize for the lack of details in my last post. This time
formatting program is a piece of a larger program I am trying to write
to de-clutter GPS transmission. I have a GPS receiver that transmits
its readings via bluetooth. I've been able to use pySerial and store
X number of bytes, then
Hi all,
I am trying to write a simple program that will accept an integral
"time" input in the HHMMSS format and output a "HH:MM:SS" form. My
code is as follows:
import string
def FormatTime(time):
'''Converts an HHMMSS string to HH:MM:SS format.'''
timeString = str
I've solved the problem- Thanks for steering me in the right
direction.
The problem is that your traditional "COM1" does not exist on this
computer (Thanks Grant). A trip to the Device manager listed all the
COM ports on the computer. After successfully connecting to COM7 (port
= serial.Serial(6)
> My guess is that for whatever reason the 'first' serial port
> (which is what you're asking for by specifying a 0 when
> instantiating the Serial class) doesn't actually exist. Serial
> device names under Windows are broken.
I realize this. I tried connecting to different port "numbers", but I
Hi Guys,
I have a project where I'd like to save GPS data that is streamed to a
Sony Vaio over bluetooth. I can monitor the data stream over Hyper
Terminal, but I'd like to use python to capture it as well. I've
installed Python 2.5, pyserial 2.2 and the appropriate pywin program
(pywin32-210.wi