add support for Arduino Due

Switch to stubbed pgmspace.h based on AVR ifdef for SAM compatibility