Comments (5)
You're using a Teensy, right? If so, please post here for help. Try to follow the "forum rule"....
https://forum.pjrc.com/forums/3-Technical-Support-amp-Questions
If conversation there turns up a bug, please open a new issue here with more specific info about the problem.
from radiohead.
im having the same issue but im on a nano
here is the code i have
// Include Libraries
include <SPI.h
include <RH_NRF24.h
include <Servo.h
int i=0;
int j=0;
RH_NRF24 nrf24; // Create NRF24 object
uint8_t command[11]; // Create array for data to be rx'ed
uint8_t buf[RH_NRF24_MAX_MESSAGE_LEN]; // Create an array buffer for the NRF24 module
void setup() {
// initialize the radio module
nrf24.init();
nrf24.setChannel(1);
nrf24.setRF(RH_NRF24::DataRate2Mbps, RH_NRF24::TransmitPower0dBm);
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
if (nrf24.available()) // If the NRF24 has received data
{
uint8_t buf[11]; // Create array to store it in
uint8_t len = sizeof(buf);
if (nrf24.recv(buf, &len)) // Store the data
{
Serial.println("Rx data:");
for(int i=0;i<len;i++)
{
Serial.print(buf[i]);
}
Serial.println();
}
}}
_ERROR_**********
Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Nano, ATmega328"
RadioHead\RH_ASK.cpp.o: In function __vector_11': C:\Program Files (x86)\Arduino\libraries\RadioHead/RH_ASK.cpp:491: multiple definition of
__vector_11'
Servo\avr\Servo.cpp.o:C:\Program Files (x86)\Arduino\libraries\Servo\src\avr/Servo.cpp:81: first defined here
collect2.exe: error: ld returned 1 exit status
Error compiling.
from radiohead.
all i was trying to do is send values from one mcu to this one that will have a servo on it therefore control my servo over the air
from radiohead.
I have the same issue with a Mega, Uno, Mini Pro etc.... Same exact vector error message when including both servo.h and radiohead or the original RF24 libraries.
from radiohead.
This is the Teensy fork, so it won't help. forum.arduino.cc
from radiohead.
Related Issues (20)
- How to change default SPI port for RH_RF69 ? HOT 3
- Example code cleanup : remove unused variable declaration
- NRF24.send lose my end data but for next time send that HOT 1
- "ISR not in IRAM" crash when RH_RF95.ccp is used with ESP8266 using latest "github.com/esp8266/Arduino" code HOT 2
- RH_RF95 received packet length
- Usage of Cad Detection
- Separate networks on RH_RF95
- Kommunication to a RN2483 node HOT 1
- setTxPower() serious output power bug
- Error compiling ask_transmitter example on Arduino Nano Every HOT 4
- Issue with Arduino Mega board (and probably others ?) HOT 1
- Library not up to date with RadioHead HOT 2
- RH_E32.h error: Cannot compile to Rocketscream Mini Ultra Pro HOT 1
- stm32l0_gpio.h not found HOT 1
- problem at nodemcu 1.0 HOT 1
- RH_ASK.h compiles with NANO, wont compile with NANO EVERY HOT 3
- Struggling using RF95 in an Interrupt function (ISR), help please ! HOT 6
- 2 LOM204 (STM32L072 + SX1272) HOT 2
- RH_NRF24.h: No such file or directory
- htons redefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiohead.