You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
539 B
30 lines
539 B
17 years ago
|
#ifndef staticPrint_H
|
||
|
#define staticPrint_H
|
||
|
|
||
|
#ifndef nop
|
||
|
#define nop() asm volatile ("nop")
|
||
|
#endif
|
||
|
|
||
|
#ifndef SPrint
|
||
|
#define SPrint(str) SPrint_P(PSTR(str))
|
||
|
#endif
|
||
|
|
||
|
#ifndef SPrintln
|
||
|
#define SPrintln(str) SPrintln_P(PSTR(str))
|
||
|
#endif
|
||
|
|
||
|
#ifndef SPrintHex
|
||
|
#define SPrintHex(str) SPrintHex_P(PSTR(str))
|
||
|
#endif
|
||
|
|
||
|
#ifndef SPrint
|
||
|
#define SPrintlnHez(str) SPrintlnHex_P(PSTR(str))
|
||
|
#endif
|
||
|
|
||
|
void SPrint_P(const char *data);
|
||
|
void SPrintln_P(const char *data);
|
||
|
void SPrintHex_P(const char *data);
|
||
|
void SPrintlnHex_P(const char *data);
|
||
|
|
||
|
#endif
|