/*
   Arduino code for The MIDI Pick, v0.3
   17 November 2007
   
   This C source file must be used in union with the following files 
   in the same sketch folder:
   
   . setup_functions.h
   . led_functions.h
   . send_functions.h
   . run.h
   
   - Roy Vanegas
*/

#include "setup_functions.h"
#include "led_functions.h"
#include "send_functions.h"
#include "run.h"

/* ====={ S E T U P }=================================================
   Returns: nothing
   Parameters: none
   
   1. Setup the ATmega pins.
   2. Setup the baud rate at which serial will communicate.
   ================================================================ */
void setup( void )
{
   pins_setup();
   serial_setup();
}

/* ====={ L O O P }===================================================
   Returns: nothing
   Parameters: none

   Run the program
   ================================================================ */
void loop( void )
{
   run();
}
