Definice textu v PROGMEM (demo)
This commit is contained in:
parent
d616088f69
commit
59ae6814a1
16
src/examples/ttest/ttest.ino
Normal file
16
src/examples/ttest/ttest.ino
Normal file
@ -0,0 +1,16 @@
|
||||
#include <trace.h>
|
||||
|
||||
#define TRACE(severity, fmt, ...) trace_print(severity, (PGM_P)PSTR(fmt), ## __VA_ARGS__)
|
||||
#define TRACE_INIT trace_init()
|
||||
#define TRACE_ADDWEB(srv) trace_addweb(srv)
|
||||
#define TRACE_POLL trace_poll()
|
||||
|
||||
void setup(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void loop(void)
|
||||
{
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user