Forked from TFTLCD_8bit by Thiha Electronics
Dependents: GR-PEACH_TFTLCD_8bit
Fork of TFTLCD_8bit by
Diff: lcd_base.h
- Revision:
- 3:64a5b67d5b51
- Parent:
- 2:81ed304b7e9b
- Child:
- 4:3ac4239f6c9c
diff -r 81ed304b7e9b -r 64a5b67d5b51 lcd_base.h --- a/lcd_base.h Sun Dec 02 00:12:43 2012 +0000 +++ b/lcd_base.h Sun Dec 02 01:44:23 2012 +0000 @@ -27,26 +27,12 @@ * 51 Franklin St, 5th Floor, Boston, MA 02110-1301, USA * *********************************************************************/ -#ifndef LCD_BASE_H -#define LCD_BASE_H +#ifndef TFTLCD_BASE_H +#define TFTLCD_BASE_H #include "mbed.h" #include "fonts.h" -/** \def HIGH - * \brief User-friendly high pin level designation. - */ -#define HIGH 1 -/** \def LOW - * \brief User-friendly low pin level designation. - */ -#define LOW 0 - -/** \def swap( type, a, b ) - * \brief Convenience macro to swap two values. - */ -#define swap( type, a, b ) { type tmp = ( a ); ( a ) = ( b ); ( b ) = tmp; } - /** \def RGB(r,g,b) * \brief Creates a RGB-565 color value. * @@ -437,4 +423,4 @@ font_metrics_t _font; }; -#endif /* LCD_BASE_H */ +#endif /* TFTLCD_BASE_H */