add intPin to sendFrame