Monday, April 27, 2015

Nrf24l01

nRF24L01 MySensors

Build a mesh-enabled radio network between your sensors using the MySensors NRF24L01 Arduino Library. The MySensors website also contains easy-to-follow build instructions and Arduino examples to help you create your own wireless sensors.

An Arduino port of the tinkerer.eu library. It works with the Sparkfun nRF24L01+ modules. Note: This library supports a small (but useful) subset of the features provided by the nRF24L01 chip. Also see github repository

bool dataReady(void) Is there data ready to be received.

void getData(byte *data) Get the received data. 'data' should be an array of bytes Mirf.payload long.

void send(byte *data) Send data. 'data' should be Mirf.payload bytes long.

bool isSending(void) Return true if still trying to send. If the chip is still in transmit mode then this method will return the chip to receive mode.

NB: Lots more information is available from the status registers regarding acknolagement or failure status. See Mirf.cpp:218.

bool rxFifoEmpty(void) Is the RX Fifo Empty. bool txFifoEmpty(void) Is the TX Fifo Empty.

byte getStatus(void) Return the status register.

void powerUpRx(void) Power up chip and set to receive mode. Also clear sending interrupts. void powerUpTx(void) Power up tx mode.

Source

Related Posts:

  • Olympic deck stainSearch For A Local Builder Olympic Deck Stain Reviews Clear Waterguard, Multisurface Clear Waterproofing Sealant, Waterguard Wood Clear Waterproofing … Read More
  • Pleasant company dolls Introduction In 1986, Pleasant T. Rowland, a former educator and publisher of educational materials, founded Pleasant Company which is headquartered… Read More
  • Black Cohosh Root Information and Side EffectsBlack Cohosh Root Information and Side Effects Black Cohosh, a North American forest plant traditionally used to treat snake bites, is also known as … Read More
  • Genie Garage Door OpenerExcelerator Troubleshooting What if the opener closes with constant pressure on the console or pushbutton? Check STB - Both the Red and Green must be… Read More
  • When to Plant Zoysia SodOther People Are Reading Timing and Climate Zoysia roots need to settle into the soil before the first autumn freeze. While Zoysia will technically gr… Read More

0 comments:

Post a Comment