Just connect the A and B, As said, the N is most likley the index, and your driver doesn't need it.