-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Original author: neve...@freemail.hu (July 16, 2010 15:30:06)
Hi!
With Processing (version 1.2.1) I wanted to control a LED connected to an ATmega8 based circuit. I have used the following Bluetooth UART module:
http://www.elechouse.com/elechouse/index.php?main_page=product_info&cPath=90_91&products_id=647
Everithing is working fine except Processing.
I ham using IVT BlueSoleil to pair and connect my device to my PC and set up a Bluetooth SPP virtual serial port (COM22 in my case). I try to send the 'H' and 'L' characters to my circuit serially to switch the LED on/off. If I use HyperTerminal or any other serial terminal program connected to COM22, everything is working fine (if I send 'H' / 'L' wirelessly the LED is on / off, so the bluetooth virtual serial link is working properly), only Processing can not handle this virtual COM port. In Processing I try to use the SimpleWrite example sketch to send 'H' and 'L' to COM22, but I get a lot of error messages and Processing freezes (see picture below).
If I use an FTDI chip based USB to UART adaptor, and connect my circuit to my PC with USB cable and use Processing with the example sketch, everithing is working fine. ( http://toysdownunder.com/arduino/arduino-ftdi-5v.html ) So it seems that Processing becomes crazy when I try to use a virtual serial COM port based on a Bluetooth device, or maybe BlueSoleil do something weird, but the HyperTerminal and Hercules 3-2-3 serial terminal programs could handle this port only Processing not.
( I am using Win XP, and I have tried the SimpleWrite example sketch with the default serial settings 9600, 8,N,1)
Can anybody help me solving this issue?
Thanks
Original issue: http://code.google.com/p/processing/issues/detail?id=318