From 9a11b803980fa70d218c6bde909de207e0b656fc Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Sat, 14 Mar 2009 23:24:20 +0100 Subject: * digital/io/src - convert to utf8, - update a comment. --- digital/io/src/asserv.c | 2 +- digital/io/src/asserv.h | 4 ++-- digital/io/src/avrconfig.h | 2 +- digital/io/src/eeprom.avr.c | 4 +++- digital/io/src/eeprom.h | 2 +- digital/io/src/main.c | 2 +- digital/io/src/servo.avr.c | 2 +- digital/io/src/servo.h | 6 +++--- digital/io/src/sharp.c | 2 +- digital/io/src/sharp.h | 2 +- digital/io/src/switch.h | 2 +- digital/io/src/trap.c | 2 +- digital/io/src/trap.h | 2 +- 13 files changed, 18 insertions(+), 16 deletions(-) (limited to 'digital/io/src') diff --git a/digital/io/src/asserv.c b/digital/io/src/asserv.c index e04b2899..408f8cbe 100644 --- a/digital/io/src/asserv.c +++ b/digital/io/src/asserv.c @@ -1,7 +1,7 @@ /* asserv.c */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/asserv.h b/digital/io/src/asserv.h index 767ebf15..c1fdae74 100644 --- a/digital/io/src/asserv.h +++ b/digital/io/src/asserv.h @@ -3,7 +3,7 @@ /* asserv.h */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ @@ -314,7 +314,7 @@ uint8_t asserv_arm_position_reached (void); /** Set scale. - * @param scale vous avez qu'à deviner (f8.24). + * @param scale vous avez qu'à deviner (f8.24). */ void asserv_set_scale (uint32_t scale); diff --git a/digital/io/src/avrconfig.h b/digital/io/src/avrconfig.h index fe2208a3..47502c2e 100644 --- a/digital/io/src/avrconfig.h +++ b/digital/io/src/avrconfig.h @@ -3,7 +3,7 @@ /* avrconfig.h */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/eeprom.avr.c b/digital/io/src/eeprom.avr.c index f3db3932..04aa2b7a 100644 --- a/digital/io/src/eeprom.avr.c +++ b/digital/io/src/eeprom.avr.c @@ -1,7 +1,7 @@ /* eeprom.avr.c */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ @@ -45,6 +45,8 @@ /** * Current version of the parameters organization. + * @warning: you must update this value every time you change the structure of + * data stored into the EEPROM. */ #define EEPROM_PARAM_KEY 0x04 diff --git a/digital/io/src/eeprom.h b/digital/io/src/eeprom.h index 1bd7d213..0f6d8fef 100644 --- a/digital/io/src/eeprom.h +++ b/digital/io/src/eeprom.h @@ -3,7 +3,7 @@ /* eeprom.h */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/main.c b/digital/io/src/main.c index 70f21ab9..daca1b07 100644 --- a/digital/io/src/main.c +++ b/digital/io/src/main.c @@ -1,7 +1,7 @@ /* main.c */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/servo.avr.c b/digital/io/src/servo.avr.c index 96e4c2c0..3ba43be5 100644 --- a/digital/io/src/servo.avr.c +++ b/digital/io/src/servo.avr.c @@ -1,7 +1,7 @@ /* servo.avr.c */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/servo.h b/digital/io/src/servo.h index 2b01e731..e433fba0 100644 --- a/digital/io/src/servo.h +++ b/digital/io/src/servo.h @@ -3,7 +3,7 @@ /* servo.h */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ @@ -36,8 +36,8 @@ * * Servo motors can be controlled by the time the input signal spend at its * high state. For example, if the signal sent to the servo motor only spend - * 1ms at the high state, it will have a 0° angle position. If the signal - * stays for 1.5ms at high state, it will have a 90° angle position. + * 1ms at the high state, it will have a 0° angle position. If the signal + * stays for 1.5ms at high state, it will have a 90° angle position. * To manage all servo motors in a "one time shot", we need to use the * timer/counter 2 of the ATmega128 and its overflow. * We setup the timer/counter to the value of its overflow minus the time the diff --git a/digital/io/src/sharp.c b/digital/io/src/sharp.c index 4330b546..d3fbcc48 100644 --- a/digital/io/src/sharp.c +++ b/digital/io/src/sharp.c @@ -1,7 +1,7 @@ /* sharp.c */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/sharp.h b/digital/io/src/sharp.h index 537208cd..c3e70ea2 100644 --- a/digital/io/src/sharp.h +++ b/digital/io/src/sharp.h @@ -3,7 +3,7 @@ /* sharp.h */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/switch.h b/digital/io/src/switch.h index 00ca227a..467a3b24 100644 --- a/digital/io/src/switch.h +++ b/digital/io/src/switch.h @@ -3,7 +3,7 @@ /* switch.h */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/trap.c b/digital/io/src/trap.c index 8c3af6f4..ed22d2f5 100644 --- a/digital/io/src/trap.c +++ b/digital/io/src/trap.c @@ -1,7 +1,7 @@ /* trap.c */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ diff --git a/digital/io/src/trap.h b/digital/io/src/trap.h index 265abd6d..0c199516 100644 --- a/digital/io/src/trap.h +++ b/digital/io/src/trap.h @@ -3,7 +3,7 @@ /* trap.h */ /* io - Input & Output with Artificial Intelligence (ai) support on AVR. {{{ * - * Copyright (C) 2008 Dufour Jérémy + * Copyright (C) 2008 Dufour Jérémy * * APBTeam: * Web: http://apbteam.org/ -- cgit v1.2.3