Comments (3)
i am also getting similar error when uploading following program:
#include <A_STM32_Examples.h>
#include <RadioHead.h>
#include <RHGenericSPI.h>
#include <RH_NRF51.h>
#include <RHCRC.h>
#include <RHRouter.h>
#include <RH_RF95.h>
#include <RHSoftwareSPI.h>
#include <RHDatagram.h>
#include <RH_CC110.h>
#include <RH_E32.h>
#include <RHHardwareSPI.h>
#include <RH_RF24.h>
#include <RH_RF22.h>
#include <RHSPIDriver.h>
#include <RH_MRF89.h>
#include <RHEncryptedDriver.h>
#include <RHGenericDriver.h>
#include <RH_NRF24.h>
#include <RHReliableDatagram.h>
#include <RHTcpProtocol.h>
#include <RH_Serial.h>
#include <RH_ASK.h>
#include <RHNRFSPIDriver.h>
#include <RH_TCP.h>
#include <RH_RF69.h>
#include <RHMesh.h>
#include <RH_NRF905.h>
/*
LoRa Simple Client for Arduino :
Support Devices: LoRa Shield + Arduino
Example sketch showing how to create a simple messageing client,
with the RH_RF95 class. RH_RF95 class does not provide for addressing or
reliability, so you should only use RH_RF95 if you do not need the higher
level messaging abilities.
It is designed to work with the other example LoRa Simple Server
modified 16 11 2016
by Edwin Chen [email protected]
Dragino Technology Co., Limited
*/
#include <SPI.h>
#include <RH_RF95.h>
// Singleton instance of the radio driver
RH_RF95 rf95;
float frequency = 868.0;
int demo = 4;
void setup()
{
pinMode(demo, INPUT);
Serial.begin(9600);
while (!Serial) ; // Wait for serial port to be available
Serial.println("Start LoRa Client");
if (!rf95.init())
Serial.println("init failed");
// Setup ISM frequency
rf95.setFrequency(frequency);
// Setup Power,dBm
rf95.setTxPower(13);
// Defaults after init are 434.0MHz, 13dBm, Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on
}
void loop()
{
uint8_t data[2];
data[0]=8;
if(digitalRead(demo))
data[1]=7;
else
data[1]=6;
delay(1);
rf95.send(data, sizeof(data));
rf95.waitPacketSent();
delay(5000);
}
from radiohead.
Hi, i noticed this issue too and i want to use it that way.
Any workarounds by correct #defines up to know?
Thx, Klaus
from radiohead.
This is not the official RadioHead. This is the copy ported for Teensy.
This is not place to report issues with STM or any non-Teensy boards.
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.