/* tourelle.h */ /* Detector on a ATmega128. {{{ * * Copyright (C) 2005 Dalmais Romain * * Robot APB Team/Efrei 2005 * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * }}} */ #ifndef tourelle_h #define tourelle_h /* inclusion */ #include "n/avr/rs232/rs232.h" #include "n/avr/utils/utils.h" #include "n/avr/twi-slave/twi_slave.h" #include "n/avr/adc/adc.h" #include "n/avr/proto/proto.h" /* proto */ void tourelle_init (uint16_t prescaler); void crenaux(uint8_t temps, uint8_t port, uint8_t pin); void proto_callback (uint8_t cmd, uint8_t size, uint8_t *args); void TournerTourelle(void); int16_t mesurer(void); void Timer_tourelle(void); #endif