using snprintf_P in function

Problem solved! Thanks for the expert help!