- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can somebody point me to an example Linux application that writes to the LCD on the Arria10 development board via the hard controller on the HPS? If not, how about a document that gets close? As I see it, the GSRD should have drivers ready to go, but I haven't found anything that explains how to do this.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got my answer from Rocketboards forum...
You can write to it very simply by just echoing text to it from the command line (this may be a helpful first step regardless of the end goal). Look in the /dev folder for the correct name but i believe it will always show up as ttyLCD0: echo “Testing LCD” > /dev/ttyLCD0 From user space you can create code to open the same path and perform writes very similar to a file, such as : lcd_handle = open("/dev/ttyLCD0", write) fprintf(lcd_handle, “First Line\nSecod Line”)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page