00001 #ifndef ledButton_h 00002 #define ledButton_h 00003 00004 00005 #include <WProgram.h> 00006 00007 00008 /* 00009 ledButton.h - Library for reading buttons state and control leds consequently 00010 00011 00012 Copyright (c) 2011 David Drissi. All right reserved. 00013 Property of the University of Angers. 00014 00015 Contact : philippe.lucidarme@univ-angers.fr 00016 00017 This library is distributed in the hope that it will be useful, 00018 but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00020 Lesser General Public License for more details. 00021 */ 00022 00023 00024 // Initialize pinmode of the pins used for leds and buttons 00025 void InitLedButton(); 00026 00027 // Use leds and buttons 00028 void LedButtonsState(); 00029 00030 00031 #endif