Figured out pin muxing issue. Updated code.