move clock and data pins
add macro to increment scan buffer positions