pulseIn, eprom, progmem and other issues