XenevaOS
Loading...
Searching...
No Matches
helix_pgm.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef ESP8266
4# include "pgmspace.h"
5#elif defined(ARDUINO) && __has_include(<pgm_space.h>)
6# include <pgm_space.h>
7#else
8# define PROGMEM
9# define pgm_read_byte(addr) (*(const unsigned char *)(addr))
10# define pgm_read_word(addr) (*(const unsigned short *)(addr))
11#endif