Pages: [1]   Go Down
Author Topic: IRremote lib compatible with SoftwareSerial lib ??  (Read 543 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Bald-Headed, Middle-Aged Nerd
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is thre any reason why I can't use the IRremote library in the same sketch as the SoftwareSerial library?

I have a working sketch that receives commands from an RC5 remote and prints the button pressed to the regular serial monitor.

Now I want to display the number to a phanderson.com LCD117 module conneted to a digital pin (other than the one used by the IR) using SoftwareSerial.

I'm getting junk for output on the LCD.
If I comment out the irrecv.enable line, and I hard-code the input for the LCD rather than taking it from the IR, the LCD works fine.

I have examined the libraries and nothing jumps out at me.

Any ideas?

Thanks
BobW
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 610
Posts: 49080
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No answers, but I'm wondering if you have the same issue if you use NewSoftSerial, instead of SoftwareSerial.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Bald-Headed, Middle-Aged Nerd
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I did not know about NewSoftSerial.
Will look for it now.
Thank you.
Good advice.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Bald-Headed, Middle-Aged Nerd
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

THANK YOU  Mr Paul S.  !!!

NewSoftSerial did the trick for me.

You da man !

Thanks for helping me!

BobW
Logged

Pages: [1]   Go Up
Jump to: