Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nRF24L01P_Hello_World nRF24L01P
circularBuffer.h
- Committer:
- voltxd
- Date:
- 2021-04-16
- Revision:
- 5:668dd9395ca5
File content as of revision 5:668dd9395ca5:
#ifndef CIRCULAR_BUFFER_H #define CIRCULAR_BUFFER_H #define BUFFER_SIZE 128 //TX void cbTxSendMessage(char* message, int length); void cbTxAddOne(char value); char cbTxGetOne(); int cbTxRemainingSize(); int cbTxGetDataSize(); //RX void cbRxAddOne(char value); char cbRxGetOne(); unsigned char cbRxIsDataAvailable(); int cbRxRemainingSize(); int cbRxGetDataSize(); #endif