Removed wiring.h pgmspace.h variables and replace with avr/pgmspace.h