#include <WProgram.h>
#include <avr/pgmspace.h>
Go to the source code of this file.
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 |
( |
void |
| ) |
[static] |
Return the number of bytes currently free in RAM.
static NOINLINE 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 NOINLINE 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. |