RF24Mesh  V1.0.3b
A user friendly mesh overlay for sensor networks using RF24Network and nRF24L01 radio modules
Functions | Variables
RF24Mesh_Example.cpp File Reference
#include "RF24Mesh/RF24Mesh.h"
#include <RF24/RF24.h>
#include <RF24Network/RF24Network.h>

Functions

RF24 radio (RPI_V2_GPIO_P1_15, BCM2835_SPI_CS0, BCM2835_SPI_SPEED_8MHZ)
 RF24Mesh_Example.cpp by TMRh20. More...
 
RF24Network network (radio)
 
int main (int argc, char **argv)
 

Variables

RF24Mesh mesh (radio, network)
 
uint32_t displayTimer =0
 

Function Documentation

RF24 radio ( RPI_V2_GPIO_P1_15  ,
BCM2835_SPI_CS0  ,
BCM2835_SPI_SPEED_8MHZ   
)

RF24Mesh_Example.cpp by TMRh20.

Note: This sketch only functions on -RPi-

This example sketch shows how to manually configure a node via RF24Mesh, and send data to the master node. In this sketch, the nodes will refresh their network address as soon as a single write fails. This allows the nodes to change position in relation to each other and the master node.

Examples:
RF24Mesh_Example.cpp.
RF24Network network ( radio  )
int main ( int  argc,
char **  argv 
)

Variable Documentation

uint32_t displayTimer =0