This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

using the graphics lib



Hi I have went to the Stellaris Launchpad workshop last month but I need help with the graphics lib. I got all the way through Lesson 10. I have a CDU (Computer Display Unit) that has 2 rotary switches,  2 bcd encoded thumbwheels and a 10 char display. I found some grate code for the keyboard (i gutted a Ps2 and should work). but the graphics stuff stumps me. I have the workbook & the graphics users guide ( which should not be called a user guide, but a function guide)  So please help me I need baby steps..  oh, yes I use Code Composer 5 on my win7 laptop.. 

Let me go back first. My ps2 interface was working on my arduino and talking to my Linuxbox via a virtual COM port over USB. the display which is LEDS driven through two MAX6955, the four switches I was going to just use 4 bits  with the switches being encoded by a priority encoder.

That means all of my keyboard (what number is it) logic and switch logic as well as driving the display was on my, and com port interrupts where on my   Linux box. and I was going to juryrig the hardware.

With the Stellaris part I can move 90% of that code from the Linux box and move it out the the Launchpad.  So now my Linux box doesn't need to prosses each keystroke or command the arduino to scan the switches.  all i have to do is now report changes. and full messages. 

So please help me..

Upwards and Onward

Cris H.

  • Hello Cris,

    Do you have any specific questions regarding the use of the launchpad?

    Regards,

    Craig 

  • Ok to much chatter I suppose. I have my Launchpad working and did lesson #10 in the lab book  but I have to get two list boxes working and I have no real Idea where to start. any help would be appreciated.

    Upwards and Onward

    Cris  H.

  • On which display? Not the led or character display you mentioned above, I guess?

    Did you buy a display BoosterPack with the LaunchPad?

    A little more info on your(final) hardware would be welcome.

    There are some example programs for the different display (DK and RDK) kits, but depending on the display used(display driver chip, resolution and color depth), you’ll need or not, a frame buffer in external SRAM.

  • OK here goes:

    1. display is the KenTec TouchScreen TFT LCD (EB-LM4F120-L35)

    2. No I got them together at a TI training day. 

    3. I am building a Avionics CDU but I don't have some of my Hardware. So I want to Simulate my switches and display. So I need:

    • a ps2 keyboard interface - got that done.
    • a 14 digit alpha numeric display. I have to write each digit seperatly.
    • 2 thumb-wheel switches that can be implemented as sliders (have the code from the demo) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, P, H output is in BCD
    • 2 rotary switches that could be implemented a list boxes (there max range is 7 ) {this is where i need the help} and output is BCD 
    • USB Com port - I have that 

    Originally this was to be built in two parts a device controller for  Ps2 keyboard, 2 max display chip on I2C, custom hardware for my switches, and a USB(com port) with my intelligence in a LinuxBox  and now I think I can put it all into the launchpad. 

    If you wish to see the CDU please see my blog at. http://phoenixcomm.wordpress.com/projects/nav-cdu/  & http://phoenixcomm.wordpress.com/2011/04/30/arduino1/