Go to the source code of this file.
Classes | |
| class | Rtttl |
Defines | |
| #define | isdigit(n) (n >= '0' && n <= '9') |
Functions | |
| char | read_byte (const char *p, bool pgm) |
| uint16_t | read_word (const uint16_t *p, bool pgm) |
Variables | |
| const prog_uint16_t notes[] | PROGMEM |
| #define isdigit | ( | n | ) | (n >= '0' && n <= '9') |
Definition at line 13 of file rtttl.h.
Referenced by Rtttl::_play().
| char read_byte | ( | const char * | p, |
| bool | pgm | ||
| ) | [inline] |
Definition at line 15 of file rtttl.h.
Referenced by Rtttl::_play().
{
if (pgm)
return pgm_read_byte(p);
else
return *p;
}
| uint16_t read_word | ( | const uint16_t * | p, |
| bool | pgm | ||
| ) | [inline] |
Definition at line 23 of file rtttl.h.
Referenced by Rtttl::_play().
{
if (pgm)
return pgm_read_word(p);
else
return *p;
}
1.7.6.1