by WMdopple » Tue Aug 21, 2012 10:21 pm
Yes, I understand this. If I were only seeing the display corruption with the Pi, I would not have mentioned...
This evening I wired it back up with the level shifter, on a third breadboard, with new connections for everything. I gave it plenty of time but didn't get any display... but then I unplugged and replugged power on the Arduino, and suddenly the test sketch displayed. I re-checked all connections and tested it a bunch of times now while making certain nothing in the setup was disturbed, to rule out anything like a loose connection flexing. Sometimes it runs through the sketch properly, sometimes nothing displays, and sometimes various patterns are corrupted or only partially draw. I've had a string of blank screens while testing, so it's possible I was just seeing a similar run when I originally posted.
Now I'm not sure how to rule out the level shifter without repeatedly running it directly connected to the arduino. Grasping at straws, but... I could see the possibility of a timing issue with the Pi code, would that be a possibility with the example arduino setup?
[edit]I should probably also note that even when I get a blank screen I'm still getting serial output from the arduino when it initializes testdrawbitmap()