I wonder if any of you are using @ltera Nios dev. kit? I just bought one kit but don't understand exact how to access I/O(i.e Port_A pin1). How can I compile "general-purpose" C program by using Nios shell? Thanks for you tips!
Take a look at the examples come with the kit, they have examples on how to drive LED, display and scroll on LCD screen, driving 7-segment display etc.
You may also want to check out the application notes and tutorials published on @ltera's sites. Those are very helpful too.