P2-9 - "\n\rStarting p2_9.c(ESP N2 V2\n\r" if...

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-9 What’s on the Menu 1. Download the uart_fd.c and uart_fp.c examples and decide which is appropriate for implementing a modified version of the menu routine. A modified version of the menu routine can be downloaded. 2. When processing a menu function do not worry about stalling all other processes. /* file: p2_4.c */ #include <stdio.h> #include "alive.h" #include "progress.h" int main ( void ) { printf(
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: "\n\rStarting p2_9.c (ESP N2 V2)\n\r" ); if ( sys_clock_init() != 0 ) { printf ( "No system clock available\n" ); return 4; } // init routines go here while (1) { // this is where we will eventually do some real work // if got data from UART invoke menu // marquee 1 routine // marquee 2 routine show_time(); show_progress(); // make it look like we are working alive(); // show that we are still alive } return 0; } 3. a....
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