Arduino code for omron encoder incremental (E6B2-CWZ6C)

i need to run my omron encoder… i tried already what link stated at the omron pic,didnt work…any solution to this?

Are you talking about this encoder?

What would you like to accomplish? What outcome inside fritzing are you looking for?