diff --git a/doc/html/12x16__horizontal__LSB__1_8h.html b/doc/html/12x16__horizontal__LSB__1_8h.html index cf6b54b..18833e1 100644 --- a/doc/html/12x16__horizontal__LSB__1_8h.html +++ b/doc/html/12x16__horizontal__LSB__1_8h.html @@ -44,7 +44,7 @@ -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/12x16__horizontal__LSB__1_8h_source.html b/doc/html/12x16__horizontal__LSB__1_8h_source.html index 548a71b..a166b37 100644 --- a/doc/html/12x16__horizontal__LSB__1_8h_source.html +++ b/doc/html/12x16__horizontal__LSB__1_8h_source.html @@ -284,7 +284,7 @@ 00261 00262 -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/8x8__horizontal__LSB__1_8h.html b/doc/html/8x8__horizontal__LSB__1_8h.html index 4cae802..7ba304d 100644 --- a/doc/html/8x8__horizontal__LSB__1_8h.html +++ b/doc/html/8x8__horizontal__LSB__1_8h.html @@ -44,7 +44,7 @@ -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/8x8__horizontal__LSB__1_8h_source.html b/doc/html/8x8__horizontal__LSB__1_8h_source.html index 0369388..8f86a1a 100644 --- a/doc/html/8x8__horizontal__LSB__1_8h_source.html +++ b/doc/html/8x8__horizontal__LSB__1_8h_source.html @@ -281,7 +281,7 @@ 00258 0x00,0x00,0x3C,0x3C,0x3C,0x3C,0x00,0x00, // 0xFE 00259 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; // 0xFF -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/adc_8c.html b/doc/html/adc_8c.html index b7887c3..04bbe6b 100644 --- a/doc/html/adc_8c.html +++ b/doc/html/adc_8c.html @@ -48,7 +48,7 @@ -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/adc_8h.html b/doc/html/adc_8h.html index e183143..5fcfb3f 100644 --- a/doc/html/adc_8h.html +++ b/doc/html/adc_8h.html @@ -82,7 +82,7 @@ -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/adc_8h_source.html b/doc/html/adc_8h_source.html new file mode 100644 index 0000000..7e80e5a --- /dev/null +++ b/doc/html/adc_8h_source.html @@ -0,0 +1,42 @@ + + + + +glcd: include/adc.h Source File + + + + + + +
Generated on 12 Apr 2010 for glcd by  + +doxygen 1.6.1
+ + diff --git a/doc/html/button_8h.html b/doc/html/button_8h.html index 76a721e..2144d60 100644 --- a/doc/html/button_8h.html +++ b/doc/html/button_8h.html @@ -45,7 +45,7 @@ -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/button_8h_source.html b/doc/html/button_8h_source.html index b4ea107..c594d88 100644 --- a/doc/html/button_8h_source.html +++ b/doc/html/button_8h_source.html @@ -58,7 +58,7 @@ 00035 0x00,0x00,0x00,0x00}; 00036 -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/files.html b/doc/html/files.html index 99d513f..d567002 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -38,7 +38,7 @@ include/touch.h [code] -
Generated on 18 Dec 2009 for glcd by  +
Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
diff --git a/doc/html/globals.html b/doc/html/globals.html index 80ab16a..0139b48 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -60,7 +60,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
  • lcd_clear() : lc7981.c -, lc7981.h +, lc7981.h
  • LCD_CRTL_DDR : lc7981.h @@ -130,7 +130,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li , lc7981.h
  • lcd_read_byte() -: lc7981.h +: lc7981.h
  • LCD_RS : lc7981.h @@ -151,7 +151,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : lc7981.h
  • lcd_strobe() -: lc7981.h +: lc7981.h
  • LCD_TEXT : lc7981.h @@ -210,7 +210,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : touch.h
  • touch_is_pressed() -: touch.h +: touch.h , touch.c
  • TOUCH_PIN @@ -224,11 +224,11 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
  • touch_readX() : touch.c -, touch.h +, touch.h
  • touch_readY() : touch.c -, touch.h +, touch.h
  • TOUCH_X1 : touch.h @@ -250,12 +250,12 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : writing_demo.h
  • writing_demo() -: writing_demo.h +: writing_demo.h , writing_demo.c
  • -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/globals_defs.html b/doc/html/globals_defs.html index c4da9fe..9469254 100644 --- a/doc/html/globals_defs.html +++ b/doc/html/globals_defs.html @@ -166,7 +166,7 @@ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html index 1a59ace..5e8cb80 100644 --- a/doc/html/globals_func.html +++ b/doc/html/globals_func.html @@ -45,7 +45,7 @@

    - l -

    -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/index.html b/doc/html/index.html index 030c90d..54949d4 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -18,7 +18,7 @@

    glcd Documentation

    0.1beta

    -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/lc7981_8c.html b/doc/html/lc7981_8c.html index a16826a..a1a84cf 100644 --- a/doc/html/lc7981_8c.html +++ b/doc/html/lc7981_8c.html @@ -43,6 +43,7 @@ void lcd_plot_text (uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font)  Plots a text using lcd_plot_char.
    void lcd_plot_pgmtext (uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font) + Plots a text using lcd_plot_char.

    Variables

    uint8_t lcd_mode  Currently used mode, can be text or graphic.
    @@ -57,6 +58,7 @@ void lcd_clear ( + void   )  @@ -189,8 +191,8 @@ x_off horizontal position of the bitmap y_off vertical position of the bitmap bitmap pointer to the bitmap in pgmspace - w width of the bitmap - h height of the bitmap + w width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) + h height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9) @@ -319,6 +321,22 @@
    +

    Plots a text using lcd_plot_char.

    +
    Parameters:
    + + + + + + + +
    x_off horizontal position of the character
    y_off vertical position of the character
    text flash area where the text is stored
    fw width of the font
    fh height of the font
    font pointer to the flash area where the font is stored
    +
    +
    +
    See also:
    lcd_plot_char
    +
    +lcd_plot_text
    +
    @@ -488,7 +506,7 @@ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/lc7981_8h.html b/doc/html/lc7981_8h.html index 6e74250..a9c319d 100644 --- a/doc/html/lc7981_8h.html +++ b/doc/html/lc7981_8h.html @@ -79,8 +79,8 @@

    Functions

    void lcd_init (uint8_t mode)  lcd_init set the to default values.
    -void lcd_clear () - Clears the display by setting the whole memory to 0.
    +void lcd_clear (void) + Clears the display by setting the whole memory to 0.
    void lcd_write_text (char *txt)  Outputs text in at the current cursor position.
    void lcd_gotoxy (uint8_t x, uint8_t y) @@ -94,12 +94,13 @@ void lcd_plot_text (uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font)  Plots a text using lcd_plot_char.
    void lcd_plot_pgmtext (uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font) -static void lcd_strobe () - Generates the strobe signal for writing data.
    + Plots a text using lcd_plot_char.
    +static void lcd_strobe (void) + Generates the strobe signal for writing data.
    static void lcd_write_command (uint8_t cmd, uint8_t data)  Writes a command and a data byte to the lcd.
    -static uint8_t lcd_read_byte () - Reads a byte from the display memory.
    +static uint8_t lcd_read_byte (void) + Reads a byte from the display memory.

    Define Documentation

    @@ -478,13 +479,14 @@

    Function Documentation

    - +
    + @@ -617,8 +619,8 @@ - - + +
    void lcd_clear (void   ) 
    x_off horizontal position of the bitmap
    y_off vertical position of the bitmap
    bitmap pointer to the bitmap in pgmspace
    w width of the bitmap
    h height of the bitmap
    w width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9)
    h height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)
    @@ -747,6 +749,22 @@
    +

    Plots a text using lcd_plot_char.

    +
    Parameters:
    + + + + + + + +
    x_off horizontal position of the character
    y_off vertical position of the character
    text flash area where the text is stored
    fw width of the font
    fh height of the font
    font pointer to the flash area where the font is stored
    +
    +
    +
    See also:
    lcd_plot_char
    +
    +lcd_plot_text
    +
    @@ -857,13 +875,14 @@ - +
    + @@ -879,13 +898,14 @@ - +
    static uint8_t lcd_read_byte (void   )  [inline, static]
    + @@ -963,7 +983,7 @@ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/lc7981_8h_source.html b/doc/html/lc7981_8h_source.html index ab98bf2..c2878b4 100644 --- a/doc/html/lc7981_8h_source.html +++ b/doc/html/lc7981_8h_source.html @@ -27,144 +27,147 @@ 00004 * Created on: 01.05.2009 00005 * Author: sebastian 00006 * -00007 * This file is part of Sebastians AVR Library for lc7981. +00007 * Version 0.6 beta 00008 * -00009 * Sebastians AVR Library for lc789 is free software: you can redistribute it and/or modify -00010 * it under the terms of the GNU General Public License as published by -00011 * the Free Software Foundation, either version 3 of the License, or -00012 * (at your option) any later version. +00009 * The contents of this file are subject to the Mozilla Public License +00010 * Version 1.1 (the "License"); you may not use this file except in +00011 * compliance with the License. You may obtain a copy of the License at +00012 * http://www.mozilla.org/MPL/ 00013 * -00014 * Sebastians AVR Library is distributed in the hope that it will be useful, -00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of -00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -00017 * GNU General Public License for more details. +00014 * Software distributed under the License is distributed on an "AS IS" +00015 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +00016 * License for the specific language governing rights and limitations +00017 * under the License. 00018 * -00019 * You should have received a copy of the GNU General Public License -00020 * along with Sebastians AVR Library. If not, see <http://www.gnu.org/licenses/>. -00021 * +00019 * The Original Code is Sebastians AVR Library for lc7981. +00020 * +00021 * The Initial Developer of the Original Code is Sebastian Schumb (webmaster@sebastians-site.de). 00022 * -00023 * 'Do the thing you want to do and let your spirits guide you through. -00024 * Live a life, worth being remembered.' -00025 * -- Remembered - Firewind -- -00026 */ -00027 -00028 -00029 -00030 -00031 #ifndef LC7981_H_ -00032 #define LC7981_H_ LC7981_H_ -00033 -00034 #include <avr/io.h> -00035 #include <util/delay.h> -00036 #include <avr/pgmspace.h> -00037 -00038 #define LCD_CTRL PORTA -00039 #define LCD_CRTL_DDR DDRA -00040 #define LCD_RS PA4 -00041 #define LCD_RW PA2 -00042 #define LCD_EN PA0 -00043 -00044 -00045 -00046 #define LCD_DATA PORTD -00047 #define LCD_DATA_PIN PIND -00048 #define LCD_DATA_DDR DDRD -00049 -00050 // Macros for (un)setting the control pins -00051 #define lcd_rs_high() (LCD_CTRL |= (1 << LCD_RS)) -00052 #define lcd_rs_low() (LCD_CTRL &= ~(1 << LCD_RS)) -00053 -00054 #define lcd_rw_high() (LCD_CTRL |= (1 << LCD_RW)) -00055 #define lcd_rw_low() (LCD_CTRL &= ~(1 << LCD_RW)) +00023 * Contributor(s): None so far. +00024 * +00025 * Any version below 0.6 is still licensed under GPL. +00026 * The GPLed versions will neither be supported, nor developed any further. +00027 * +00028 * 'Do the thing you want to do and let your spirits guide you through. +00029 * Live a life, worth being remembered.' +00030 * -- Remembered - Firewind -- +00031 */ +00032 +00033 +00034 #ifndef LC7981_H_ +00035 #define LC7981_H_ LC7981_H_ +00036 +00037 #include <avr/io.h> +00038 #include <util/delay.h> +00039 #include <avr/pgmspace.h> +00040 +00041 #define LCD_CTRL PORTA +00042 #define LCD_CRTL_DDR DDRA +00043 #define LCD_RS PA4 +00044 #define LCD_RW PA2 +00045 #define LCD_EN PA0 +00046 +00047 +00048 +00049 #define LCD_DATA PORTD +00050 #define LCD_DATA_PIN PIND +00051 #define LCD_DATA_DDR DDRD +00052 +00053 // Macros for (un)setting the control pins +00054 #define lcd_rs_high() (LCD_CTRL |= (1 << LCD_RS)) +00055 #define lcd_rs_low() (LCD_CTRL &= ~(1 << LCD_RS)) 00056 -00057 #define lcd_en_high() (LCD_CTRL |= (1 << LCD_EN)) -00058 #define lcd_en_low() (LCD_CTRL &= ~(1 << LCD_EN)) +00057 #define lcd_rw_high() (LCD_CTRL |= (1 << LCD_RW)) +00058 #define lcd_rw_low() (LCD_CTRL &= ~(1 << LCD_RW)) 00059 -00060 -00061 #define LCD_TEXT 0 -00062 #define LCD_TEXT_LINES 10 -00063 #define LCD_TEXT_COLUMNS 26 -00064 -00065 #define LCD_GRAPHIC 1 -00066 #define LCD_GRAPHIC_WIDTH 160 -00067 #define LCD_GRAPHIC_HEIGHT 80 -00068 #define PIXEL_ON 1 -00069 #define PIXEL_OFF 0 -00070 -00071 void lcd_init(uint8_t mode); -00072 void lcd_clear(); -00073 -00074 void lcd_write_text(char *txt); -00075 void lcd_gotoxy(uint8_t x, uint8_t y); +00060 #define lcd_en_high() (LCD_CTRL |= (1 << LCD_EN)) +00061 #define lcd_en_low() (LCD_CTRL &= ~(1 << LCD_EN)) +00062 +00063 +00064 #define LCD_TEXT 0 +00065 #define LCD_TEXT_LINES 10 +00066 #define LCD_TEXT_COLUMNS 26 +00067 +00068 #define LCD_GRAPHIC 1 +00069 #define LCD_GRAPHIC_WIDTH 160 +00070 #define LCD_GRAPHIC_HEIGHT 80 +00071 #define PIXEL_ON 1 +00072 #define PIXEL_OFF 0 +00073 +00074 void lcd_init(uint8_t mode); +00075 void lcd_clear(void); 00076 -00077 void lcd_plot_pixel(uint8_t x, uint8_t y, uint8_t set); -00078 void lcd_plot_bitmap(uint8_t x, uint8_t y, PGM_P bitmap, uint8_t w, uint8_t h); +00077 void lcd_write_text(char *txt); +00078 void lcd_gotoxy(uint8_t x, uint8_t y); 00079 -00080 void lcd_plot_char(uint8_t x_off, uint8_t y_off, uint8_t c, uint8_t fw, uint8_t fh, PGM_P font); -00081 void lcd_plot_text(uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font); -00082 void lcd_plot_pgmtext(uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font); -00083 -00084 -00085 static inline void lcd_strobe(); -00086 static inline void lcd_write_command(uint8_t cmd, uint8_t data); -00087 static inline uint8_t lcd_read_byte(); -00088 -00089 -00090 // Static inline functions, that can be used in the library and in the main programm +00080 void lcd_plot_pixel(uint8_t x, uint8_t y, uint8_t set); +00081 void lcd_plot_bitmap(uint8_t x, uint8_t y, PGM_P bitmap, uint8_t w, uint8_t h); +00082 +00083 void lcd_plot_char(uint8_t x_off, uint8_t y_off, uint8_t c, uint8_t fw, uint8_t fh, PGM_P font); +00084 void lcd_plot_text(uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font); +00085 void lcd_plot_pgmtext(uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font); +00086 +00087 +00088 static inline void lcd_strobe(void); +00089 static inline void lcd_write_command(uint8_t cmd, uint8_t data); +00090 static inline uint8_t lcd_read_byte(void); 00091 00092 -00097 static inline void lcd_strobe() { -00098 lcd_en_high(); -00099 _delay_us(1); -00100 lcd_en_low(); -00101 -00102 } -00103 +00093 // Static inline functions, that can be used in the library and in the main programm +00094 +00095 +00100 static inline void lcd_strobe(void) { +00101 lcd_en_high(); +00102 _delay_us(1); +00103 lcd_en_low(); 00104 -00111 static inline void lcd_write_command(uint8_t cmd, uint8_t data) { -00112 _delay_us(30); -00113 lcd_rw_low(); -00114 lcd_rs_high(); -00115 LCD_DATA = cmd; -00116 _delay_us(1); -00117 lcd_strobe(); -00118 -00119 lcd_rs_low(); -00120 LCD_DATA = data; -00121 _delay_us(1); -00122 lcd_strobe(); -00123 -00124 } -00125 -00134 static inline uint8_t lcd_read_byte() { -00135 uint8_t i,data; -00136 -00137 for(i = 0; i < 2; i++) { -00138 _delay_us(30); -00139 lcd_rw_low(); -00140 lcd_rs_high(); -00141 LCD_DATA = 0x0D; -00142 _delay_us(1); -00143 lcd_en_high(); -00144 -00145 LCD_DATA_DDR = 0x00; -00146 lcd_rs_low(); -00147 lcd_rw_high(); -00148 _delay_us(1); -00149 data = (uint8_t) LCD_DATA_PIN; -00150 lcd_en_low(); -00151 LCD_DATA_DDR = 0xFF; -00152 } -00153 return data; -00154 } -00155 -00156 -00157 +00105 } +00106 +00107 +00114 static inline void lcd_write_command(uint8_t cmd, uint8_t data) { +00115 _delay_us(30); +00116 lcd_rw_low(); +00117 lcd_rs_high(); +00118 LCD_DATA = cmd; +00119 _delay_us(1); +00120 lcd_strobe(); +00121 +00122 lcd_rs_low(); +00123 LCD_DATA = data; +00124 _delay_us(1); +00125 lcd_strobe(); +00126 +00127 } +00128 +00137 static inline uint8_t lcd_read_byte(void) { +00138 uint8_t i,data; +00139 +00140 for(i = 0; i < 2; i++) { +00141 _delay_us(30); +00142 lcd_rw_low(); +00143 lcd_rs_high(); +00144 LCD_DATA = 0x0D; +00145 _delay_us(1); +00146 lcd_en_high(); +00147 +00148 LCD_DATA_DDR = 0x00; +00149 lcd_rs_low(); +00150 lcd_rw_high(); +00151 _delay_us(1); +00152 data = (uint8_t) LCD_DATA_PIN; +00153 lcd_en_low(); +00154 LCD_DATA_DDR = 0xFF; +00155 } +00156 return data; +00157 } 00158 00159 -00160 #endif /* LC7981_H_ */ +00160 +00161 +00162 +00163 #endif /* LC7981_H_ */ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/main_8c.html b/doc/html/main_8c.html index 2ad720b..0b578b3 100644 --- a/doc/html/main_8c.html +++ b/doc/html/main_8c.html @@ -27,7 +27,6 @@ #include <stdlib.h>
    #include "include/lc7981.h"
    #include "include/adc.h"
    -#include "button.h"
    #include "12x16_horizontal_LSB_1.h"
    #include "include/touch.h"
    #include "writing_demo.h"
    @@ -54,7 +53,7 @@ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/touch_8c.html b/doc/html/touch_8c.html index c1fa891..842b840 100644 --- a/doc/html/touch_8c.html +++ b/doc/html/touch_8c.html @@ -39,6 +39,7 @@
    + @@ -60,6 +61,7 @@ + @@ -77,6 +79,7 @@ + @@ -88,7 +91,7 @@ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/touch_8h.html b/doc/html/touch_8h.html index 02dfe01..8a82559 100644 --- a/doc/html/touch_8h.html +++ b/doc/html/touch_8h.html @@ -39,10 +39,10 @@
    - - - - + + + +
    static void lcd_strobe (void   )  [inline, static]
    uint8_t touch_is_pressed (void   ) 
    int16_t touch_readX (void   ) 
    int16_t touch_readY (void   ) 
    #define TOUCH_Y2   PA7
    #define TOUCH_PRESSED_LEVEL   1000

    Functions

    uint8_t touch_is_pressed ()
     This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC.
    int16_t touch_readX ()
    int16_t touch_readY ()
    uint8_t touch_is_pressed (void)
     This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC.
    int16_t touch_readX (void)
    int16_t touch_readY (void)

    Define Documentation

    @@ -166,13 +166,14 @@

    Function Documentation

    - +
    + @@ -187,13 +188,14 @@ - +
    uint8_t touch_is_pressed (void   ) 
    + @@ -204,13 +206,14 @@ - +
    int16_t touch_readX (void   ) 
    + @@ -222,7 +225,7 @@ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/touch_8h_source.html b/doc/html/touch_8h_source.html index 7b52f71..fc82287 100644 --- a/doc/html/touch_8h_source.html +++ b/doc/html/touch_8h_source.html @@ -39,14 +39,14 @@ 00022 00023 #define TOUCH_PRESSED_LEVEL 1000 00024 -00025 uint8_t touch_is_pressed(); +00025 uint8_t touch_is_pressed(void); 00026 -00027 int16_t touch_readX(); -00028 int16_t touch_readY() ; +00027 int16_t touch_readX(void); +00028 int16_t touch_readY(void); 00029 00030 #endif /* TOUCH_H_ */ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/writing__demo_8c.html b/doc/html/writing__demo_8c.html index 8239cf3..7c3077a 100644 --- a/doc/html/writing__demo_8c.html +++ b/doc/html/writing__demo_8c.html @@ -27,7 +27,7 @@
    int16_t touch_readY (void   ) 
    - +

    Functions

    void writing_demo ()
     particel_demo.c
     writing_demo.c

    Function Documentation

    @@ -37,6 +37,7 @@ void writing_demo ( + void   )  @@ -45,13 +46,13 @@
    -

    particel_demo.c

    +

    writing_demo.c

    Created on: 29.05.2009 Author: sebastian

    -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/writing__demo_8h.html b/doc/html/writing__demo_8h.html index 74b0b02..ae15341 100644 --- a/doc/html/writing__demo_8h.html +++ b/doc/html/writing__demo_8h.html @@ -32,10 +32,10 @@ - + - - + +

    Defines

    #define WIRTING_DEMO_H_   WIRTING_DEMO_H_
     particel_demo.h
     writing_demo.h

    Functions

    void writing_demo ()
     particel_demo.c
    void writing_demo (void)
     writing_demo.c

    Define Documentation

    @@ -49,19 +49,20 @@
    -

    particel_demo.h

    +

    writing_demo.h

    Created on: 29.05.2009 Author: sebastian


    Function Documentation

    - +
    + @@ -70,13 +71,13 @@
    -

    particel_demo.c

    +

    writing_demo.c

    Created on: 29.05.2009 Author: sebastian

    -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/html/writing__demo_8h_source.html b/doc/html/writing__demo_8h_source.html index 2ba8075..f72ced1 100644 --- a/doc/html/writing__demo_8h_source.html +++ b/doc/html/writing__demo_8h_source.html @@ -30,11 +30,11 @@ 00013 #include "include/adc.h" 00014 #include "include/touch.h" 00015 -00016 void writing_demo(); +00016 void writing_demo(void); 00017 00018 #endif /* PARTICEL_DEMO_H_ */ -
    Generated on 18 Dec 2009 for glcd by  +
    Generated on 12 Apr 2010 for glcd by  doxygen 1.6.1
    diff --git a/doc/latex/doxygen.sty b/doc/latex/doxygen.sty index 96cf17d..543bfce 100644 --- a/doc/latex/doxygen.sty +++ b/doc/latex/doxygen.sty @@ -27,9 +27,9 @@ \fancyplain{}{\bfseries\thepage}% } \rfoot[\fancyplain{}{\bfseries\scriptsize% - Generated on Fri Dec 18 12:56:27 2009 for glcd by Doxygen }]{} + Generated on Mon Apr 12 15:50:48 2010 for glcd by Doxygen }]{} \lfoot[]{\fancyplain{}{\bfseries\scriptsize% - Generated on Fri Dec 18 12:56:27 2009 for glcd by Doxygen }} + Generated on Mon Apr 12 15:50:48 2010 for glcd by Doxygen }} \cfoot{} %---------- Internal commands used in this style file ---------------- diff --git a/doc/latex/lc7981_8c.tex b/doc/latex/lc7981_8c.tex index 205481e..6beba34 100644 --- a/doc/latex/lc7981_8c.tex +++ b/doc/latex/lc7981_8c.tex @@ -21,7 +21,7 @@ void {\bf lcd\_\-plot\_\-char} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, uint8\ void {\bf lcd\_\-plot\_\-text} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, const char $\ast$text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) \begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item void {\bf lcd\_\-plot\_\-pgmtext} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, PGM\_\-P text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) -\end{DoxyCompactItemize} +\begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Variables} \begin{DoxyCompactItemize} \item @@ -34,7 +34,7 @@ uint8\_\-t {\bf lcd\_\-curline} \subsection{Function Documentation} \index{lc7981.c@{lc7981.c}!lcd\_\-clear@{lcd\_\-clear}} \index{lcd\_\-clear@{lcd\_\-clear}!lc7981.c@{lc7981.c}} -\subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear ()}\label{lc7981_8c_a35c08b1fa742e650f4873939707b893b} +\subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear (void)}\label{lc7981_8c_a35c08b1fa742e650f4873939707b893b} Clears the display by setting the whole memory to 0. \index{lc7981.c@{lc7981.c}!lcd\_\-gotoxy@{lcd\_\-gotoxy}} @@ -71,7 +71,7 @@ This function will plot a bitmap with the upper left corner to the given coordin \begin{DoxyParams}{Parameters} -\item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap \item[{\em h}]height of the bitmap\end{DoxyParams} +\item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) \item[{\em h}]height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)\end{DoxyParams} This function is dedicated to Greta, one of the most important persons in my life so far.\par \index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}} \index{lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}!lc7981.c@{lc7981.c}} @@ -92,6 +92,16 @@ Plots a single character in graphicmode. Each character of the font is stored li \index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}} \index{lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}!lc7981.c@{lc7981.c}} \subsubsection[{lcd\_\-plot\_\-pgmtext}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pgmtext (uint8\_\-t {\em x\_\-off}, \/ uint8\_\-t {\em y\_\-off}, \/ PGM\_\-P {\em text}, \/ uint8\_\-t {\em fw}, \/ uint8\_\-t {\em fh}, \/ PGM\_\-P {\em font})}\label{lc7981_8c_a0af06316c8d3d3a57b1ddcf949d85a8c} + + +Plots a text using lcd\_\-plot\_\-char. +\begin{DoxyParams}{Parameters} +\item[{\em x\_\-off}]horizontal position of the character \item[{\em y\_\-off}]vertical position of the character \item[{\em text}]flash area where the text is stored \item[{\em fw}]width of the font \item[{\em fh}]height of the font \item[{\em font}]pointer to the flash area where the font is stored\end{DoxyParams} +\begin{DoxySeeAlso}{See also} +\doxyref{lcd\_\-plot\_\-char}{p.}{lc7981_8h_a2615737020b222e49a4d9c8d08a54f43} + +\doxyref{lcd\_\-plot\_\-text}{p.}{lc7981_8h_a71a77094675e2850e8a4b442fb6a366e} +\end{DoxySeeAlso} \index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}} \index{lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}!lc7981.c@{lc7981.c}} \subsubsection[{lcd\_\-plot\_\-pixel}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pixel (uint8\_\-t {\em x}, \/ uint8\_\-t {\em y}, \/ uint8\_\-t {\em set})}\label{lc7981_8c_a735111507ed83172f58d5af2953e31c6} diff --git a/doc/latex/lc7981_8h.tex b/doc/latex/lc7981_8h.tex index 24c45f0..c5e2f16 100644 --- a/doc/latex/lc7981_8h.tex +++ b/doc/latex/lc7981_8h.tex @@ -57,7 +57,7 @@ \item void {\bf lcd\_\-init} (uint8\_\-t mode) \begin{DoxyCompactList}\small\item\em lcd\_\-init set the to default values. \item\end{DoxyCompactList}\item -void {\bf lcd\_\-clear} () +void {\bf lcd\_\-clear} (void) \begin{DoxyCompactList}\small\item\em Clears the display by setting the whole memory to 0. \item\end{DoxyCompactList}\item void {\bf lcd\_\-write\_\-text} (char $\ast$txt) \begin{DoxyCompactList}\small\item\em Outputs text in at the current cursor position. \item\end{DoxyCompactList}\item @@ -72,12 +72,12 @@ void {\bf lcd\_\-plot\_\-char} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, uint8\ void {\bf lcd\_\-plot\_\-text} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, const char $\ast$text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) \begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item void {\bf lcd\_\-plot\_\-pgmtext} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, PGM\_\-P text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) -\item -static void {\bf lcd\_\-strobe} () +\begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item +static void {\bf lcd\_\-strobe} (void) \begin{DoxyCompactList}\small\item\em Generates the strobe signal for writing data. \item\end{DoxyCompactList}\item static void {\bf lcd\_\-write\_\-command} (uint8\_\-t cmd, uint8\_\-t data) \begin{DoxyCompactList}\small\item\em Writes a command and a data byte to the lcd. \item\end{DoxyCompactList}\item -static uint8\_\-t {\bf lcd\_\-read\_\-byte} () +static uint8\_\-t {\bf lcd\_\-read\_\-byte} (void) \begin{DoxyCompactList}\small\item\em Reads a byte from the display memory. \item\end{DoxyCompactList}\end{DoxyCompactItemize} @@ -202,7 +202,7 @@ see lcd\_\-plot\_\-pixel \subsection{Function Documentation} \index{lc7981.h@{lc7981.h}!lcd\_\-clear@{lcd\_\-clear}} \index{lcd\_\-clear@{lcd\_\-clear}!lc7981.h@{lc7981.h}} -\subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear ()}\label{lc7981_8h_a35c08b1fa742e650f4873939707b893b} +\subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear (void)}\label{lc7981_8h_ad235a86241458b1e7b8771688bfdaf9a} Clears the display by setting the whole memory to 0. \index{lc7981.h@{lc7981.h}!lcd\_\-gotoxy@{lcd\_\-gotoxy}} @@ -239,7 +239,7 @@ This function will plot a bitmap with the upper left corner to the given coordin \begin{DoxyParams}{Parameters} -\item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap \item[{\em h}]height of the bitmap\end{DoxyParams} +\item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) \item[{\em h}]height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)\end{DoxyParams} This function is dedicated to Greta, one of the most important persons in my life so far.\par \index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}} \index{lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}!lc7981.h@{lc7981.h}} @@ -260,6 +260,16 @@ Plots a single character in graphicmode. Each character of the font is stored li \index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}} \index{lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}!lc7981.h@{lc7981.h}} \subsubsection[{lcd\_\-plot\_\-pgmtext}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pgmtext (uint8\_\-t {\em x\_\-off}, \/ uint8\_\-t {\em y\_\-off}, \/ PGM\_\-P {\em text}, \/ uint8\_\-t {\em fw}, \/ uint8\_\-t {\em fh}, \/ PGM\_\-P {\em font})}\label{lc7981_8h_a0af06316c8d3d3a57b1ddcf949d85a8c} + + +Plots a text using lcd\_\-plot\_\-char. +\begin{DoxyParams}{Parameters} +\item[{\em x\_\-off}]horizontal position of the character \item[{\em y\_\-off}]vertical position of the character \item[{\em text}]flash area where the text is stored \item[{\em fw}]width of the font \item[{\em fh}]height of the font \item[{\em font}]pointer to the flash area where the font is stored\end{DoxyParams} +\begin{DoxySeeAlso}{See also} +\doxyref{lcd\_\-plot\_\-char}{p.}{lc7981_8h_a2615737020b222e49a4d9c8d08a54f43} + +\doxyref{lcd\_\-plot\_\-text}{p.}{lc7981_8h_a71a77094675e2850e8a4b442fb6a366e} +\end{DoxySeeAlso} \index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}} \index{lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}!lc7981.h@{lc7981.h}} \subsubsection[{lcd\_\-plot\_\-pixel}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pixel (uint8\_\-t {\em x}, \/ uint8\_\-t {\em y}, \/ uint8\_\-t {\em set})}\label{lc7981_8h_a735111507ed83172f58d5af2953e31c6} @@ -281,7 +291,7 @@ Plots a text using lcd\_\-plot\_\-char. \end{DoxySeeAlso} \index{lc7981.h@{lc7981.h}!lcd\_\-read\_\-byte@{lcd\_\-read\_\-byte}} \index{lcd\_\-read\_\-byte@{lcd\_\-read\_\-byte}!lc7981.h@{lc7981.h}} -\subsubsection[{lcd\_\-read\_\-byte}]{\setlength{\rightskip}{0pt plus 5cm}static uint8\_\-t lcd\_\-read\_\-byte ()\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_a0f6a62f494f3cd66aa1f4a910bca71a8} +\subsubsection[{lcd\_\-read\_\-byte}]{\setlength{\rightskip}{0pt plus 5cm}static uint8\_\-t lcd\_\-read\_\-byte (void)\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_a4e0e642817c38e2c73eb6355a45847e0} Reads a byte from the display memory. lcd\_\-gotoxy can be used to set the location. Important : lcd\_\-gotoxy doesn't work in graphics mode yet. @@ -294,7 +304,7 @@ the byte which has been read \end{DoxySeeAlso} \index{lc7981.h@{lc7981.h}!lcd\_\-strobe@{lcd\_\-strobe}} \index{lcd\_\-strobe@{lcd\_\-strobe}!lc7981.h@{lc7981.h}} -\subsubsection[{lcd\_\-strobe}]{\setlength{\rightskip}{0pt plus 5cm}static void lcd\_\-strobe ()\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_a32fdf2306d469b45e2a3bfd020403d76} +\subsubsection[{lcd\_\-strobe}]{\setlength{\rightskip}{0pt plus 5cm}static void lcd\_\-strobe (void)\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_ae6e048011d567dd2859901544ebf7051} Generates the strobe signal for writing data. This function is meant for internal usage only. \index{lc7981.h@{lc7981.h}!lcd\_\-write\_\-command@{lcd\_\-write\_\-command}} diff --git a/doc/latex/main_8c.tex b/doc/latex/main_8c.tex index f453119..e4a033b 100644 --- a/doc/latex/main_8c.tex +++ b/doc/latex/main_8c.tex @@ -4,7 +4,6 @@ {\ttfamily \#include $<$stdlib.h$>$}\par {\ttfamily \#include \char`\"{}include/lc7981.h\char`\"{}}\par {\ttfamily \#include \char`\"{}include/adc.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}button.h\char`\"{}}\par {\ttfamily \#include \char`\"{}12x16\_\-horizontal\_\-LSB\_\-1.h\char`\"{}}\par {\ttfamily \#include \char`\"{}include/touch.h\char`\"{}}\par {\ttfamily \#include \char`\"{}writing\_\-demo.h\char`\"{}}\par diff --git a/doc/latex/refman.tex b/doc/latex/refman.tex index a5e6675..a584ed9 100644 --- a/doc/latex/refman.tex +++ b/doc/latex/refman.tex @@ -23,7 +23,7 @@ \vspace*{1cm} {\large Generated by Doxygen 1.6.1}\\ \vspace*{0.5cm} -{\small Fri Dec 18 12:56:27 2009}\\ +{\small Mon Apr 12 15:50:48 2010}\\ \end{center} \end{titlepage} \clearemptydoublepage diff --git a/doc/latex/touch_8c.tex b/doc/latex/touch_8c.tex index 8d30875..91c6ea9 100644 --- a/doc/latex/touch_8c.tex +++ b/doc/latex/touch_8c.tex @@ -15,7 +15,7 @@ int16\_\-t {\bf touch\_\-readY} () \subsection{Function Documentation} \index{touch.c@{touch.c}!touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}} \index{touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}!touch.c@{touch.c}} -\subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed ()}\label{touch_8c_a215947ded979abf11d490536508ecafc} +\subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed (void)}\label{touch_8c_a215947ded979abf11d490536508ecafc} This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. If the ADC-\/Value is less then TOUCH\_\-PRESSED\_\-LEVEL, the function will return 1. \begin{DoxyReturn}{Returns} @@ -23,7 +23,7 @@ This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the \end{DoxyReturn} \index{touch.c@{touch.c}!touch\_\-readX@{touch\_\-readX}} \index{touch\_\-readX@{touch\_\-readX}!touch.c@{touch.c}} -\subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX ()}\label{touch_8c_adbea78d45cc89e43f7510ebf6eb01ac0} +\subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX (void)}\label{touch_8c_adbea78d45cc89e43f7510ebf6eb01ac0} \index{touch.c@{touch.c}!touch\_\-readY@{touch\_\-readY}} \index{touch\_\-readY@{touch\_\-readY}!touch.c@{touch.c}} -\subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY ()}\label{touch_8c_acdce8a6997f2d00dbfcb61be2e67e886} +\subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY (void)}\label{touch_8c_acdce8a6997f2d00dbfcb61be2e67e886} diff --git a/doc/latex/touch_8h.tex b/doc/latex/touch_8h.tex index 2226171..455c92a 100644 --- a/doc/latex/touch_8h.tex +++ b/doc/latex/touch_8h.tex @@ -25,11 +25,11 @@ \subsection*{Functions} \begin{DoxyCompactItemize} \item -uint8\_\-t {\bf touch\_\-is\_\-pressed} () +uint8\_\-t {\bf touch\_\-is\_\-pressed} (void) \begin{DoxyCompactList}\small\item\em This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. \item\end{DoxyCompactList}\item -int16\_\-t {\bf touch\_\-readX} () +int16\_\-t {\bf touch\_\-readX} (void) \item -int16\_\-t {\bf touch\_\-readY} () +int16\_\-t {\bf touch\_\-readY} (void) \end{DoxyCompactItemize} @@ -68,7 +68,7 @@ int16\_\-t {\bf touch\_\-readY} () \subsection{Function Documentation} \index{touch.h@{touch.h}!touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}} \index{touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}!touch.h@{touch.h}} -\subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed ()}\label{touch_8h_a215947ded979abf11d490536508ecafc} +\subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed (void)}\label{touch_8h_ad9d13a515a5fa467bbdcdd9d28ba472a} This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. If the ADC-\/Value is less then TOUCH\_\-PRESSED\_\-LEVEL, the function will return 1. \begin{DoxyReturn}{Returns} @@ -76,7 +76,7 @@ This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the \end{DoxyReturn} \index{touch.h@{touch.h}!touch\_\-readX@{touch\_\-readX}} \index{touch\_\-readX@{touch\_\-readX}!touch.h@{touch.h}} -\subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX ()}\label{touch_8h_adbea78d45cc89e43f7510ebf6eb01ac0} +\subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX (void)}\label{touch_8h_ab428dce50579a72fb239cacb3d2a2bc8} \index{touch.h@{touch.h}!touch\_\-readY@{touch\_\-readY}} \index{touch\_\-readY@{touch\_\-readY}!touch.h@{touch.h}} -\subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY ()}\label{touch_8h_acdce8a6997f2d00dbfcb61be2e67e886} +\subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY (void)}\label{touch_8h_adcb34e31728672eaebd034b5376f2752} diff --git a/doc/latex/writing__demo_8c.tex b/doc/latex/writing__demo_8c.tex index 3c44e97..ee83e64 100644 --- a/doc/latex/writing__demo_8c.tex +++ b/doc/latex/writing__demo_8c.tex @@ -5,13 +5,13 @@ \begin{DoxyCompactItemize} \item void {\bf writing\_\-demo} () -\begin{DoxyCompactList}\small\item\em particel\_\-demo.c \item\end{DoxyCompactList}\end{DoxyCompactItemize} +\begin{DoxyCompactList}\small\item\em \doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} \item\end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Function Documentation} \index{writing\_\-demo.c@{writing\_\-demo.c}!writing\_\-demo@{writing\_\-demo}} \index{writing\_\-demo@{writing\_\-demo}!writing_demo.c@{writing\_\-demo.c}} -\subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo ()}\label{writing__demo_8c_abdd925f1d9c8a09b9950c059c51e02d1} +\subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo (void)}\label{writing__demo_8c_abdd925f1d9c8a09b9950c059c51e02d1} -particel\_\-demo.c Created on: 29.05.2009 Author: sebastian \ No newline at end of file +\doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} Created on: 29.05.2009 Author: sebastian \ No newline at end of file diff --git a/doc/latex/writing__demo_8h.tex b/doc/latex/writing__demo_8h.tex index 8e7118a..f8b7a7b 100644 --- a/doc/latex/writing__demo_8h.tex +++ b/doc/latex/writing__demo_8h.tex @@ -8,12 +8,12 @@ \begin{DoxyCompactItemize} \item \#define {\bf WIRTING\_\-DEMO\_\-H\_\-}~WIRTING\_\-DEMO\_\-H\_\- -\begin{DoxyCompactList}\small\item\em particel\_\-demo.h \item\end{DoxyCompactList}\end{DoxyCompactItemize} +\begin{DoxyCompactList}\small\item\em \doxyref{writing\_\-demo.h}{p.}{writing__demo_8h} \item\end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item -void {\bf writing\_\-demo} () -\begin{DoxyCompactList}\small\item\em particel\_\-demo.c \item\end{DoxyCompactList}\end{DoxyCompactItemize} +void {\bf writing\_\-demo} (void) +\begin{DoxyCompactList}\small\item\em \doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} \item\end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Define Documentation} @@ -22,12 +22,12 @@ void {\bf writing\_\-demo} () \subsubsection[{WIRTING\_\-DEMO\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define WIRTING\_\-DEMO\_\-H\_\-~WIRTING\_\-DEMO\_\-H\_\-}\label{writing__demo_8h_a69a65c026c8b8e97c7b6f99de76ab00d} -particel\_\-demo.h Created on: 29.05.2009 Author: sebastian +\doxyref{writing\_\-demo.h}{p.}{writing__demo_8h} Created on: 29.05.2009 Author: sebastian \subsection{Function Documentation} \index{writing\_\-demo.h@{writing\_\-demo.h}!writing\_\-demo@{writing\_\-demo}} \index{writing\_\-demo@{writing\_\-demo}!writing_demo.h@{writing\_\-demo.h}} -\subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo ()}\label{writing__demo_8h_abdd925f1d9c8a09b9950c059c51e02d1} +\subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo (void)}\label{writing__demo_8h_aefd6917e099be82568bcbb02444ce0f2} -particel\_\-demo.c Created on: 29.05.2009 Author: sebastian \ No newline at end of file +\doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} Created on: 29.05.2009 Author: sebastian \ No newline at end of file diff --git a/include/lc7981.c b/include/lc7981.c index a9c9120..7cf2e18 100644 --- a/include/lc7981.c +++ b/include/lc7981.c @@ -1,23 +1,27 @@ /* * lc7981.c * - * Created on: 01.05.2009 - * Author: sebastian + * Version 0.6 beta * - * This file is part of Sebastians AVR Library for lc7981. + * The contents of this file are subject to the Mozilla Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ * - * Sebastians AVR Library is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * Software distributed under the License is distributed on an "AS IS" + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + * License for the specific language governing rights and limitations + * under the License. * - * Sebastians AVR Library 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. + * The Original Code is Sebastians AVR Library for lc7981. + * + * The Initial Developer of the Original Code is Sebastian Schumb (webmaster@sebastians-site.de). + * + * Contributor(s): None so far. + * + * Any version below 0.6 is still licensed under GPL. + * The GPLed versions will neither be supported, nor developed any further. * - * You should have received a copy of the GNU General Public License - * along with Sebastians AVR Library. If not, see . * */ @@ -226,8 +230,8 @@ uint8_t xr; * @param x_off horizontal position of the bitmap * @param y_off vertical position of the bitmap * @param bitmap pointer to the bitmap in pgmspace - * @param w width of the bitmap - * @param h height of the bitmap + * @param w width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) + * @param h height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9) * * This function is dedicated to Greta, one of the most important persons in my life so far.\n * @@ -337,6 +341,20 @@ while(*text) { } +/** +* Plots a text using lcd_plot_char. +* @param x_off horizontal position of the character +* @param y_off vertical position of the character +* @param text flash area where the text is stored +* @param fw width of the font +* @param fh height of the font +* @param font pointer to the flash area where the font is stored +* +* +* +* @see lcd_plot_char +* @see lcd_plot_text +*/ void lcd_plot_pgmtext(uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font) { uint8_t c; diff --git a/include/lc7981.h b/include/lc7981.h index 02a5104..e8f270b 100644 --- a/include/lc7981.h +++ b/include/lc7981.h @@ -4,21 +4,26 @@ * Created on: 01.05.2009 * Author: sebastian * - * This file is part of Sebastians AVR Library for lc7981. + * Version 0.6 beta * - * Sebastians AVR Library for lc789 is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * The contents of this file are subject to the Mozilla Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ * - * Sebastians AVR Library 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. + * Software distributed under the License is distributed on an "AS IS" + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + * License for the specific language governing rights and limitations + * under the License. * - * You should have received a copy of the GNU General Public License - * along with Sebastians AVR Library. If not, see . + * The Original Code is Sebastians AVR Library for lc7981. * + * The Initial Developer of the Original Code is Sebastian Schumb (webmaster@sebastians-site.de). + * + * Contributor(s): None so far. + * + * Any version below 0.6 is still licensed under GPL. + * The GPLed versions will neither be supported, nor developed any further. * * 'Do the thing you want to do and let your spirits guide you through. * Live a life, worth being remembered.' @@ -26,8 +31,6 @@ */ - - #ifndef LC7981_H_ #define LC7981_H_ LC7981_H_ //!< protects this file from beeing double included
    void writing_demo (void   )