Code not working in my sketch???

You're welcome. I'm glad if I was able to be of assistance. Great job on getting it working. Enjoy!
Per