Main Page | File List | Globals

debug.c

Go to the documentation of this file.
00001 /* debug.c --- 
00002  * 
00003  * Filename: debug.c
00004  * Description: 
00005  * Author: Bryce Himebaugh
00006  * Maintainer: 
00007  * Created: Tue Oct 24 12:35:07 2006
00008  * Version: 
00009  * Last-Updated: 
00010  *           By: 
00011  *     Update #: 0
00012  * Keywords: 
00013  * Compatibility: 
00014  * 
00015  */
00016 
00017 /* Commentary: 
00018  * 
00019  * 
00020  * 
00021  */
00022 
00023 /* Change log:
00024  * 
00025  * 
00026  */
00027 
00028 /* This program is free software; you can redistribute it and/or modify
00029  * it under the terms of the GNU General Public License as published by
00030  * the Free Software Foundation; either version 2, or (at your option)
00031  * any later version.
00032  * 
00033  * This program is distributed in the hope that it will be useful,
00034  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00035  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00036  * GNU General Public License for more details.
00037  * 
00038  * You should have received a copy of the GNU General Public License
00039  * along with this program; see the file COPYING.  If not, write to the
00040  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00041  * Boston, MA 02111-1307, USA.
00042  */
00043 
00044 /* Code: */
00045 
00046 #include <msp430x16x.h>
00047 #include <vcs_bsp/vcsbsp.h>
00048 
00049 void wiggler_p1(void) {
00050   static int ws=0;
00051   if (ws) P1_ON;
00052   else P1_OFF;
00053   ws^=1;
00054 }
00055 
00056 void wiggler_p2(void) {
00057   static int ws=0;
00058   if (ws) P2_ON;
00059   else P2_OFF;
00060   ws^=1;
00061 }
00062 
00063 void wiggler_p3(void) {
00064   static int ws=0;
00065   if (ws) P3_ON;
00066   else P3_OFF;
00067   ws^=1;
00068 }
00069 
00070 void wiggler_p4(void) {
00071   static int ws=0;
00072   if (ws) P4_ON;
00073   else P4_OFF;
00074   ws^=1;
00075 }
00076 
00077 
00078 /* debug.c ends here */

Generated on Fri Nov 3 14:40:12 2006 for hwiflib by  doxygen 1.3.9.1