#include <arduino.h>
#include "basetype.h"
Go to the source code of this file.
void dumpBoolean |
( |
Print * |
pPrint, |
|
|
bool |
value |
|
) |
| |
Dump a boolean value
- Parameters
-
pPrint | were to emit the result |
value | value to dump |
void dumpFixedPoint |
( |
Print * |
pPrint, |
|
|
int32_t |
number, |
|
|
uint8_t |
places |
|
) |
| |
Convert a fixed point number to a string
- Parameters
-
pPrint | where to send the result |
number | value to convert |
places | number of decimal places to emit |
void dumpHEXbytes |
( |
Print * |
pPrint, |
|
|
bool |
spaceBetween, |
|
|
uint8_t |
count, |
|
|
uint8_t * |
pBytes |
|
) |
| |
Convert an array of bytes to series of HEX Numbers. Each number is displayed as two digits even if the high order digit is a zero.
- Parameters
-
pPrint | where to send the result |
spaceBetween | put a space between each byte |
count | number of bytes to convert |
pBytes | pointer to the array of bytes |
void dumpHEXnumber |
( |
Print * |
pPrint, |
|
|
uint32_t |
value |
|
) |
| |
Dump a hex value in the form 0xfffffff
- Parameters
-
pPrint | were to emit the result |
value | value to dump |
EXTERNDEF long stringToLong |
( |
String |
s | ) |
|
Convert a string to a long
- Parameters
-
- Returns
- value of the number converted to a long integer