Pages: [1]   Go Down
Author Topic: Use two 433Mhz library in the same sketch?  (Read 138 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: October 28, 2013, 12:02:29 pm by CrossRoads » Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 525
Posts: 26519
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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."

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 525
Posts: 26519
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What timer does the rfswitch use?  Do you have a link?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: