|
arduino-audio-tools
|
Reads n numbers from an Arduino Stream. More...
#include <BaseConverter.h>
Public Member Functions | |
| NumberReader (Stream &in) | |
| bool | read (int inBits, int outBits, bool outSigned, int n, int32_t *result) |
| bool | toNumbers (void *bufferIn, int inBits, int outBits, bool outSigned, int n, int32_t *result) |
| converts a buffer to a number array | |
Protected Member Functions | |
| int32_t | scale (int32_t value, int inBits, int outBits, bool outSigned=true) |
| scale the value | |
Protected Attributes | |
| Stream * | stream_ptr = nullptr |
Reads n numbers from an Arduino Stream.