Aries
New Member
I'm baffled. I'm trying to use a Nokia 5110 with a 20x2 - many thanks to the posts on the forum which enabled me to see in general how to do it.
I started with bit-banging - no problem - then moved to spiout for speed - again, no problem.
However, I can't get hspiout to work. Obviously I'm missing something, but I cannot see what. When the code executes, the pixels turn black at point B (as if "all pixels on") and the screen goes completely black at point F (as if "inverse video mode"). My first thought was that hspiout is supplying the bits LSB rather than MSB (although I don't think it does) because the two commands (VOP at point B and contrast at point F) when reversed are exactly the bit patterns for the two as-ifs. However reversing the bits doesn't make it work. Any ideas??
I started with bit-banging - no problem - then moved to spiout for speed - again, no problem.
However, I can't get hspiout to work. Obviously I'm missing something, but I cannot see what. When the code executes, the pixels turn black at point B (as if "all pixels on") and the screen goes completely black at point F (as if "inverse video mode"). My first thought was that hspiout is supplying the bits LSB rather than MSB (although I don't think it does) because the two commands (VOP at point B and contrast at point F) when reversed are exactly the bit patterns for the two as-ifs. However reversing the bits doesn't make it work. Any ideas??
Attachments
-
2 KB Views: 20