Using LAT_BIT instead of PIN for RD7.