neophob / PixelController

(LED) Matrix Control Software, supports various Hardware, Keywords: LED Matrix, OSC, Realtime, VJ, Arduino, Teensy, RPI
www.pixelinvaders.ch
GNU General Public License v3.0
286 stars 103 forks source link

Serial Port Names #30

Closed neophob closed 11 years ago

neophob commented 11 years ago

Hello! Thank you so much for the great software! I’ve been trying to get PixelController to work on my demo LED panel which uses TLC5940s as the LED drivers. As the uC only requires serial input, I tried to use the Adavision output setting. The software was having trouble sending the output, and I noticed that it makes the serial port name all capitalized within the software, which prevents it from recognizing the serial port on my macbook. The problem’s in line 62 of Adavision.java: String serialPort = ph.getAdavisionSerialPort().toUpperCase(); Once I removed toUpperCase() from the line, it works fine! I didn’t know how to use gethub, so I apologize for posting this here on the blog.

neophob commented 11 years ago

On Windows the Ports need to be in Uppercase, on OSX they shouldnt...

Note to myself: always use the serial port list provided by the os and make a case insensitive compare, that should fix this isse

neophob commented 11 years ago

fixed in v1.3.1-SNAPSHOT