![]() |
Soldered SD Card Arduino Library 1.0.0
Easily read and write files to and form the SD card breakout! A fork of the original SDFat library by Bill Greiman.
|
Functions | |
| char * | fmtBase10 (char *str, uint16_t n) |
| char * | fmtBase10 (char *str, uint32_t n) |
| char * | fmtHex (char *str, uint32_t n) |
| char * | fmtSigned (char *str, int32_t num, uint8_t base, bool caps) |
| char * | fmtUnsigned (char *str, uint32_t num, uint8_t base, bool caps) |
| char * | fmtDouble (char *str, double num, uint8_t prec, bool altFmt) |
| char * | fmtDouble (char *str, double value, uint8_t prec, bool altFmt, char expChar) |
| float | scale10 (float v, int8_t n) |
| float | scanFloat (const char *str, const char **ptr) |
Variables | |
| static const double | powTen [] = {1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9} |
| static const double | rnd [] = {5e-1, 5e-2, 5e-3, 5e-4, 5e-5, 5e-6, 5e-7, 5e-8, 5e-9, 5e-10} |
| static const size_t | MAX_PREC = sizeof(powTen) / sizeof(powTen[0]) |
| static const float m[] | PROGMEM = {1e-1, 1e-2, 1e-4, 1e-8, 1e-16, 1e-32} |
| static const float | m [] = {1e-1, 1e-2, 1e-4, 1e-8, 1e-16, 1e-32} |
| static const float | p [] = {1e+1, 1e+2, 1e+4, 1e+8, 1e+16, 1e+32} |
| char * fmtBase10 | ( | char * | str, |
| uint16_t | n | ||
| ) |
| char * fmtBase10 | ( | char * | str, |
| uint32_t | n | ||
| ) |
| char * fmtDouble | ( | char * | str, |
| double | num, | ||
| uint8_t | prec, | ||
| bool | altFmt | ||
| ) |
| char * fmtDouble | ( | char * | str, |
| double | value, | ||
| uint8_t | prec, | ||
| bool | altFmt, | ||
| char | expChar | ||
| ) |
Print a number followed by a field terminator.
| [in] | value | The number to be printed. |
| [in] | ptr | Pointer to last char in buffer. |
| [in] | prec | Number of digits after decimal point. |
| [in] | expChar | Use exp format if non zero. |
| char * fmtHex | ( | char * | str, |
| uint32_t | n | ||
| ) |
| char * fmtSigned | ( | char * | str, |
| int32_t | num, | ||
| uint8_t | base, | ||
| bool | caps | ||
| ) |
| char * fmtUnsigned | ( | char * | str, |
| uint32_t | num, | ||
| uint8_t | base, | ||
| bool | caps | ||
| ) |
| float scale10 | ( | float | v, |
| int8_t | n | ||
| ) |
| float scanFloat | ( | const char * | str, |
| const char ** | ptr | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |