AceTime
0.6.1
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
|
Macros and definitions that provide a consistency layer among the various Arduino boards for compatibility. More...
#include <stdint.h>
#include <string.h>
#include <pgmspace.h>
Go to the source code of this file.
Macros | |
#define | ACE_TIME_USE_PROGMEM 1 |
Determine if zonedb and zonedbx zoneinfo files are placed in PROGMEM. More... | |
#define | ACE_TIME_PROGMEM PROGMEM |
Functions | |
int | acetime_strcmp_P (const char *str1, const char *str2P) |
const char * | strchr_P (const char *s, int c) |
const char * | strrchr_P (const char *s, int c) |
int | acetime_strcmp_PP (const char *a, const char *b) |
Compare 2 strings in flash memory. More... | |
Macros and definitions that provide a consistency layer among the various Arduino boards for compatibility.
Most of this is caused by inconsistent, incomplete, or sometimes incorrect emulation of the AVR PROGMEM macro and its related str*_P() functions in <avr/pgmspace.h>.
Definition in file compat.h.
#define ACE_TIME_USE_PROGMEM 1 |
int acetime_strcmp_PP | ( | const char * | a, |
const char * | b | ||
) |
Compare 2 strings in flash memory.
None of the various strXxx_P() functions work when both strings are in flash memory.
Definition at line 36 of file compat.cpp.