Useful utility functions.
More...
#include <WProgram.h>
#include <avr/pgmspace.h>
Detailed Description
Useful utility functions.
Define Documentation
#define NOINLINE __attribute__((noinline)) |
Defined so doxygen works for function definitions.
#define PgmPrint |
( |
|
x ) |
SerialPrint_P(PSTR(x)) |
Store and print a string in flash memory.
#define PgmPrintln |
( |
|
x ) |
SerialPrintln_P(PSTR(x)) |
Store and print a string in flash memory followed by a CR/LF.
Function Documentation
static int FreeRam |
( |
) |
[static] |
Amount of free RAM
- Returns:
- The number of free bytes.
static void SerialPrint_P |
( |
PGM_P |
str ) |
[static] |
Print a string in flash memory to the serial port.
- Parameters:
-
[in] | str | Pointer to string stored in flash memory. |
static void SerialPrintln_P |
( |
PGM_P |
str ) |
[static] |
Print a string in flash memory followed by a CR/LF.
- Parameters:
-
[in] | str | Pointer to string stored in flash memory. |