Screen and Matrix keyboard panel-card EVB examples

Dear,

I look for somme examples use the matrix keyboard and the screen of the EVB with panel-card.

i want to start to program on panel-card EVB, but i have not examples to start.

thank you

Re: Screen and Matrix keyboard panel-card EVB examples

To use the matrix keyboard start the keyboard driver:
insmod /config/at91-matrix.ko

You can then test the keyboard with

cat < /dev/tty0

Pressing keys and "#" should give you some output on the console.

For the screen you can use nano-X, there are many examples in the rootfilesystem, or QTEmbedded. Another alternative is using our OpenEmbedded implementation with a X-Server. Then it is almost standard Linux and you can also use Java, GTK ...

The GUI Toolkit will also get the input of the matrix keyboard for you (it's in /dev/event0 or /dev/event1

Re: Screen and Matrix keyboard panel-card EVB examples

thank you for your help.
cat>/dev/tty0 is worked but i want to customizing the key map of the matrix keyboard by using C. and swho the results on the EVB Screen.( I am a beginner in embedded developpement)

if you have some exemples with the correct include files.and the appropriate instructions.

Thank you in advence.

Re: Screen and Matrix keyboard panel-card EVB examples

When using Nano-X "nano-X_demo.c" provided with our CD (located in "sysapps.tgz") would be helpful.
This example shows how to react on mouse and keyboard events and also uses a lot of Nano-X's graphic functions (for text output etc). It assumes six background images ("1.bmp" .. "6.bmp") in "/config/images" on panelcard but will also work if these images can't be found.

The source of this demo can be found in directory "nano-X/src/demos/nanox".

Re: Screen and Matrix keyboard panel-card EVB examples

Please use the Nano-X sources from our download section instead of the ones from our CD. The sources on CD are not up to date.

Re: Screen and Matrix keyboard panel-card EVB examples

thank you for your help
i will try it and tel you what's new
regards

Syndicate content