Pololu Magnetic Encoder 12cpr

so it has to be rising for A. and falling for B?