|
Author |
Topic: serial (Read 364 times) |
|
jen
|
serial
« on: Apr 22nd, 2004, 2:16am » |
|
Hello I am trying to read via the serial port. With a key span adapter but It isnt working this is the code I am using to test. char val ; void setup() { beginSerial(); } void loop() { // Set the background to the value in val } void serialEvent() { // Initializes the variable val with the // last value readed by the serial port val = (char)serial; println(val); } any ideas?
|
|
|
|
michael05
|
Re: serial
« Reply #1 on: Apr 22nd, 2004, 7:10pm » |
|
have you checked the right port at menu/sketch/serial port?
|
°°°°°°°°°°°°°°°°°°°° http://www.m05.de
|
|
|
jen
|
Re: serial
« Reply #2 on: Apr 24th, 2004, 12:28am » |
|
well the problem is that i ma using a keyspan adpater to try and read streaming data form a garmin gps device. The port is an option to shoose under the place you serial port but. I get a port is in use error but I dotn know what would be "using" it any ideas ? cheers jen
|
|
|
|
jen
|
Re: serial
« Reply #3 on: Apr 28th, 2004, 5:26am » |
|
well I know now that nothing else is using it, is this some bug? I cant get it to use the serial port I have got the right one selected, all very confusing cheers jennie
|
|
|
|
fry
|
Re: serial
« Reply #4 on: Apr 29th, 2004, 9:24pm » |
|
port in use probably means that you've got isync, or palm desktop's hotsync app, or some sort of gps software that's holding onto the serial port and preventing processing from getting access to it.
|
|
|
|
jen
|
Re: serial
« Reply #5 on: Apr 30th, 2004, 5:16am » |
|
I dont have isync running at the same time as processing but I do have it as an application , is there away to get it to "let go" of the port? There isnt any gps software so it seems that isync is the only source of irritation cheers jennie
|
|
|
|
|