/////////////////////////////////////////////////////////////////////// // Filename: main.c // // Synopsis: Main program file for frame-based processing using DSP/BIOS // Added RTDX stuff. // // Authors: Michael G. Morrow, 3/17/2004 // // Changes by: Mark A. Yoder // // Date of Last Revision: 31-Mar-2004 // // Copyright (c): 2001-2004 by Michael G. Morrow. All rights reserved. /////////////////////////////////////////////////////////////////////// #include "frames.h" #include #include #include "DSK_Support.h" #include "c6711cfg.h" int main() { // initialize all buffers to 0 ZeroBuffers(); // fall through to DSP/BIOS } /* The following code is run by the period timer. It checks the MSB (not the sign bit). If it is 1, it turns the LED on. This is a way to see if there is clipping. */ void blinkLEDs(void) { int i; short lmax=0, ltmp; short rmax=0, rtmp; for(i=0; i