manwinder123 / MSR605-Card-Reader-Writer-Eraser-with-GUI

MSR605 is a card reader/writer/eraser, the python code provides an interface between the device and your machine
GNU General Public License v3.0
53 stars 27 forks source link

With different devices, it works on Mac OSX (and probably linux) #4

Open drf5n opened 6 years ago

drf5n commented 6 years ago

Try this bit of code in cardReader.py:

    ...
    c = ['/dev/tty.usbserial']
    for x in range(0, 255):
        c.append('COM' + str(x))
    for x in c:
        try:
            self.__serialConn = serial.Serial(x)  # opens the serial port
            print("Worked: "+x)
    ...

And you can easily add other likely devices in the c=[...] list.

manwinder123 commented 6 years ago

Hey @drf5n,

I am unable to try the code as I sold the MSR605 I had 😵.

I'll leave this issue up for visibility and not close it.