P2-8 - if sys_clock_init!= 0 printf"No system clock...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Spring 2007 Embedded Systems Programming Project 2-8 Head liners 1. Download the lcd_test.c example. Using this code and the code from your marquee project implement two scrolling marquee’s on the DE2’s LCD display. 2. Make sure that the other processes continue to function with addition of marquee code. /* file: p2_8.c */ #include <stdio.h> #include "alive.h" #include "progress.h" int main ( void ) { printf( "\n\rStarting p2_4.c (ESP N2 V2)\n\r"
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ); if ( sys_clock_init() != 0 ) { printf ( "No system clock available\n" ); return 4; } // add LCD and Marquee init code here as needed while (1) { // this is where we will eventually do some real work // add code to implement display of 2 marguee’s here show_progress(); // make it look like we are working alive(); // show that we are still alive } return 0; }...
View Full Document

This document was uploaded on 11/01/2011 for the course EE 492 at Boise State.

Ask a homework question - tutors are online