Changing the digital ports voltage?

So. 5/.025 = 250.

Ohm's law applies to just linear devices. The above calculation reflects your complete lack of understanding about Ohm's law.

It still can be used here, just not the way you did - the resulting current would be considerably less what what you your calculation suggested.