Go Down

Topic: Use two 433Mhz library in the same sketch? (Read 190 times) previous topic - next topic

smallpoul

Oct 28, 2013, 05:17 pm Last Edit: Oct 28, 2013, 06:02 pm by CrossRoads Reason: 1
Hi,
    i use the rfswitch library for a long time to interface to arduino, could i use also the virtualwire in the sketch to? In my project, i have a main arduino that receive and send data to others arduino, some of them need more data so will like to use also the virtualwire library.

Thanks
Mike

CrossRoads

You'd have to compare the hardware used between the two devices.
Virtual requires that a certain timer be committed for its use.  Does rfswitch do the same?

http://www.airspayce.com/mikem/arduino/
http://www.airspayce.com/mikem/arduino/VirtualWire.pdf

"Caution: VirtualWire takes over Arduino Timer1, and this will affect the PWM capabilities
of the digital pins 9 and 10."

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

smallpoul

ok i see, will probably be incompatible for that reason, will check for another solution.
Thanks
Mike

CrossRoads

What timer does the rfswitch use?  Do you have a link?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up