Hello, Forum! This is my first post.
I have an extensive background in electronics and engineering, with considerable experience writing programs in GWBASIC, but I am a total Noob to the Arduino and the C++ language! I built an interface from my UNO to a 4-character alphanumeric display, and I have verified that the interface is working 100%.
I've Googled the Forum to find out how to write parallel data to the pins on my UNO, but none of the answers I found even come close. (Most refer to using the whole ports, but I can't, since I need the serial/USB, etc.)
My setup is using pins 2-9 for parallel data, 10-12 for display address, and pin 13 to write data to the display.
What I want to do is put messages up onto the 4-character display. I need to figure out how to loop and convert ASCII characters into parallel bits, to be written across the data pins in parallel. (Doing it sequentially, a pin at a time, is working fine, as the data is only written when I strobe pin 13 low.)
For now, I've tested the display by using a FOR loop to digitalWrite all pins LOW, then use individual digitalWrite commands to set pins high to display one character at a time, with lots of COPY/PASTE and changing HIGH to LOW, etc. (This is cumbersome.) I need a loop to send messages to the display, one char at a time, incrementing the address (pins 10,11) and pulsing pin 13 for each. (I have it displaying a 3-word message, now, 4 chars at a time.)
Code snippets would be very much appreciated. (No writes to ports, DDR, etc, as I prefer not to mess things up on the UNO board.) I can piece together a program to parse and display strings of characters, once I have examples of how to grab each byte and write it to the pins.
So far, I like the Arduino... but the learning curve for C++ is a bit intimidating! (I sure miss having GOSUB and RETURN!)
Thank you!
Willie...