First commit of partly-working reflow oven controller.
This commit is contained in:
0
test/avr/io.h
Normal file
0
test/avr/io.h
Normal file
13
test/avr/pgmspace.h
Normal file
13
test/avr/pgmspace.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef _PGMSPACE_H_
|
||||
#define _PGMSPACE_H_
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#define PROGMEM
|
||||
#define PGM_P const char *
|
||||
#define pgm_read_byte(x) (*(char *)(x))
|
||||
#define pgm_read_ptr(x) (*(char **)(x))
|
||||
#define strlen_P strlen
|
||||
#define memcpy_P memcpy
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user