Serial Communication error on serialEvent()

edited February 2015 in Arduino

I am working on serial communication with the example code. However, i am getting an error says (Error, disabling serialEvent() for /dev/tty.usbmodem1421 null)

I am using mac the ports printed out are following [0] "/dev/cu.Bluetooth-Incoming-Port" [1] "/dev/cu.Bluetooth-Modem" [2] "/dev/cu.leosiPhone-WirelessiAP" [3] "/dev/cu.usbmodem1421" [4] "/dev/tty.Bluetooth-Incoming-Port" [5] "/dev/tty.Bluetooth-Modem" [6] "/dev/tty.leosiPhone-WirelessiAP" [7] "/dev/tty.usbmodem1421"

I have been testing with [3] and [7] but neither worked.

Here is the code for Arduino and Processing http://paste.ofcode.org/37ECjBku7ng9qTqbTP4Y9Ut http://paste.ofcode.org/R3XRrWgTJ7kMnXJ9PbtXPE

Can somebody please tell me what goes wrong ?

Tagged:
Sign In or Register to comment.