New answers tagged progmem
0
votes
PROGMEM : pgm_read_float_near() equivalent for double? (Arduino Due)
For anyone looking for an equivalent, you can manually copy the bytes into a double like:
double pgm_read_double(const double* address) {
double result;
memcpy_P(&result, address, sizeof(...
Top 50 recent answers are included
Related Tags
progmem × 64arduino-uno × 9
flash × 9
memory × 9
c++ × 7
memory-usage × 7
array × 6
programming × 5
sram × 5
arduino-ide × 4
avr × 4
serial × 3
esp8266 × 3
arduino-nano × 3
atmega328 × 3
struct × 3
arduino-mega × 2
arduino-due × 2
string × 2
arduino-pro-mini × 2
pointer × 2
sketch-size × 2
constants × 2
sam3x × 2
led × 1