Add AnalogRead/WriteResolution & regex bug correction for .pdl files

Let me know if this is a good way to propose patches.

I'm new in github so please excuse possible error.