retrolefty:
Keep in mind that the port assignments are different for 328 Vs the other avr chips the IDE supports so there is some portability given up when you use direct port addressing in your sketch.Lefty
That is why you select if you are using the arudino mega or arduino uno or other board. Then the pre-processor will determine with bit in which port to set or clear.