Hi, i need the arduino to communicate to both the processing sketch and also the IR receiver using the IR remote library(which uses the serial too), so i think i need to use the software serial library.
But i didnt figure out how to use that library.
I used the serial for p5, and the mySerial for the receiver. P5 works fine but the receiver didn't, the serial monitor seems to be occupied by the serial only.
To make it simple, i stop using the IR, and use a LED instead. LED as the output, a button as the input, when button is pressed, LED lights up.
But it didn't light up.
I noticed that software serial use pin 10 as RT, and pin 11 as XT, so i then connect the button to pin 10 and the LED to pin 11.
This time, the LED lights up no matter what. What's going on?
Anyway, how to use software serial just in one board and one port??
Thanks.
Also what do you mean by "port" - there is a very specific meaning of port in the microcontroller used in the Arduino, but I suspect you are not refering to that kind of port.