Repetier-Firmware  0.80
SerialOutput Class Reference

#include <gcode.h>

Public Member Functions

 SerialOutput ()
size_t write (uint8_t)
void print_P (PGM_P ptr)
void println_P (PGM_P ptr)
void print_long_P (PGM_P ptr, long value)
void print_int_P (PGM_P ptr, int value)
void print_float_P (PGM_P ptr, float value, uint8_t digits=2)
void println_long_P (PGM_P ptr, long value)
void println_int_P (PGM_P ptr, int value)
void println_float_P (PGM_P ptr, float value, uint8_t digits=2)
void print_error_P (PGM_P ptr, bool newline)
void printFloat (double number, uint8_t digits=2)

Constructor & Destructor Documentation


Member Function Documentation

void print_error_P ( PGM_P  ptr,
bool  newline 
)
void print_float_P ( PGM_P  ptr,
float  value,
uint8_t  digits = 2 
)
void print_int_P ( PGM_P  ptr,
int  value 
)
void print_long_P ( PGM_P  ptr,
long  value 
)
void print_P ( PGM_P  ptr)

Print a string stored in program memory on serial console.

Example: serial_print_pgm(PSTR("Dummy string"));

void printFloat ( double  number,
uint8_t  digits = 2 
)
void println_float_P ( PGM_P  ptr,
float  value,
uint8_t  digits = 2 
)
void println_int_P ( PGM_P  ptr,
int  value 
)
void println_long_P ( PGM_P  ptr,
long  value 
)
void println_P ( PGM_P  ptr)

Print a string stored in program memory on serial console.

Example: out.println_P(PSTR("Dummy string"));

void write ( uint8_t  value)

The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Defines