Tell us about yourself!
Garden Train - Arduino Wireless NMRA DCC
Very nice project. I purchased a 32x32 P6 model. Listing says it is 1/8 scan. I measure and my E pin is ground, so I connected A-D as per your diagram and set it as PxMATRIX display(32,32,P_LAT, P_OE,P_A,P_B,P_C,P_D);. I am getting one of the pixel flashing blue in the last column when I upload the firmware and a few very brief blue flashes when the sketch starts. Any ideas what I should be changing?
Hi, did you manage to resolve this? I also have a 32x32 P6. I figured that E is ground and does not need to be connected. So I am using definition PxMATRIX display(32,32,P_LAT, P_OE,P_A,P_B,P_C,P_D); and 1/8 scan line. But nothing gets display. A single blue flashes when I upload the firmware. Did you get this working for yours?
I tried a few things and a few different codes, pins, adding separate pull-up. And today I have gone to my local shop and got a few more rotary decoders. I thought they are all created equal, but they are not. So your code works fine with a different type of encoder. So misery solved.
Hi Simon, I have used your code on a Arduino mini, using pin 2 and 3. When I turn the encoder the code counts up, but when I turn the other direction, it does nothing (counts up every 4th or 5th turn). If I swap the pin 2/3 wires, the effect is similar, but only counts down.On my encoder the ground pin is on the left. I think I got that right, otherwise it would not count in either direction. Any ideas? I have nothing else in the sketch and nothing else connected.
2-Player Bartop Arcade Machine (Powered by Pi)
Electronic-Lab in a Box
Time Lapse Dolly