GithubHelp home page GithubHelp logo

Comments (5)

PaulStoffregen avatar PaulStoffregen commented on August 18, 2024

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.

FrankOcean11 avatar FrankOcean11 commented on August 18, 2024

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.

FrankOcean11 avatar FrankOcean11 commented on August 18, 2024

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.

flyerdp avatar flyerdp commented on August 18, 2024

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.

Isaac96 avatar Isaac96 commented on August 18, 2024

This is the Teensy fork, so it won't help. forum.arduino.cc

from radiohead.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.