Playing with Arduino
A page to record my playing with Arduino
__LPM()

概要

The __LPM() is a macro that reads a byte of data stored in a specified address(PROGMEM area).

ソースコード

The __LPM() is defined in hardware/tools/avr/avr/include/avr/pgmspace.h as below.

1
#define __LPM(addr)         __LPM_enhanced__(addr)

The input is addr and just calls _LPM_enhanced_().

バージョン

Arduino 1.8.13/avr-gcc 7.3.0-atmel3.6.1-arduino

Last Update

June 19, 2020

inserted by FC2 system