OOKwiz
on/off-keying for ESP32 and a variety of supported radio modules
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Namespaces | Functions
tools.cpp File Reference
#include "tools.h"
#include "config.h"

Go to the source code of this file.

Namespaces

 tools
 

Functions

size_t getArduinoLoopTaskStackSize ()
 
void tools::trim (String &in)
 Takes spaces off start and end of supplied string, operates in place on String passed in. More...
 
long tools::nthNumberFrom (String &in, int num)
 Identifies contiguous series of digits in String, giving you the toInt() of the nth one. More...
 
void tools::shiftInBit (uint8_t *buf, const int len, const bool bit)
 Shifts bits into a range of bytes. Reverse order because length may be unkown at start. More...
 
bool tools::shiftOutBit (uint8_t *buf, const int len)
 Shifts out the bits in an array of bytes, emptying array in process. More...
 
void tools::split (const String &in, const String &separator, String &before, String &after)
 Will split a srting in two on first occurence of String separator. More...
 
bool tools::between (const int &compare, const int &lower_bound, const int &upper_bound)
 See if number is between two bounds. More...
 

Function Documentation

◆ getArduinoLoopTaskStackSize()

size_t getArduinoLoopTaskStackSize ( )

Definition at line 4 of file tools.cpp.