Hey guys, this is my first post to the forum, and I am also pretty new to PIC programming, and C as well.
I need to display a menu that I made using 30+ strings on an oled display (works the same as an LCD, to my knowledge), on the PIC18F46K20 starter kit.
So it worked until I ran out of RAM. Now that I learned how to store the strings in program memory (calling them const rom unsigned char string1[]), I have saved space. And I know it was saved correctly, because if I view the program memory viewer in mplab, it shows up.
My question is: how can I retreive these saved strings and display them on the OLED screen? Currently, all that I see is jumbled garbage.
Thanks!
-Funk
I need to display a menu that I made using 30+ strings on an oled display (works the same as an LCD, to my knowledge), on the PIC18F46K20 starter kit.
So it worked until I ran out of RAM. Now that I learned how to store the strings in program memory (calling them const rom unsigned char string1[]), I have saved space. And I know it was saved correctly, because if I view the program memory viewer in mplab, it shows up.
My question is: how can I retreive these saved strings and display them on the OLED screen? Currently, all that I see is jumbled garbage.
Thanks!
-Funk