Hi, I want to know what is the difference between
The first, set P1 to output and also drives 1 to it. The second also set P1 to output and writes 1 (vdd) to that and 0 to other pins.
So, both are driving vdd to P1. Is that right?
Is there any technical difference here or it is a programming habit?!