"THE ClubMate-WARE LICENSE" (Revision 42):
[hackover2013-badge-firmware.git] / drivers / displays / tft / hw / hx8347d.h
index 879b253..33b089d 100644 (file)
@@ -1,41 +1,25 @@
 /**************************************************************************/\r
 /*!\r
     @file     hx8347d.h\r
-    @author   TauonTeilchen\r
-\r
-    @section  DESCRIPTION\r
-    Is written for MI0283QT-2 LCD from watterott.com\r
-    More infos: http://www.watterott.com/de/MI0283QT-2-Adapter\r
-    http://www.watterott.com/index.php?page=product&info=1597&dl_media=3202\r
+    @author   Tauon {TauonTeilchen} Jabber ID Tauon[at]jabber.ccc.de\r
 \r
     @section  LICENSE\r
 \r
     Software License Agreement (BSD License)\r
 \r
-    Copyright (c) 2010, microBuilder SARL\r
-    All rights reserved.\r
-\r
-    Redistribution and use in source and binary forms, with or without\r
-    modification, are permitted provided that the following conditions are met:\r
-    1. Redistributions of source code must retain the above copyright\r
-    notice, this list of conditions and the following disclaimer.\r
-    2. Redistributions in binary form must reproduce the above copyright\r
-    notice, this list of conditions and the following disclaimer in the\r
-    documentation and/or other materials provided with the distribution.\r
-    3. Neither the name of the copyright holders nor the\r
-    names of its contributors may be used to endorse or promote products\r
-    derived from this software without specific prior written permission.\r
-\r
-    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY\r
-    EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r
-    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r
-    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY\r
-    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r
-    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r
-    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\r
-    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
-    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r
-    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+    Copyright (c) 2012, TauonTeilchen \r
+       ----------------------------------------------------------------------------\r
+       "THE BEER-WARE LICENSE" (Revision 42):\r
+       JID: <Tauon@jabber.ccc.de> wrote this file. As long as you retain this notice you\r
+       can do whatever you want with this stuff. If we meet some day, and you think\r
+       this stuff is worth it, you can buy me a ClubMate in return Tauon\r
+       ----------------------------------------------------------------------------\r
+       ----------------------------------------------------------------------------\r
+        "THE ClubMate-WARE LICENSE" (Revision 42):\r
+        JID: <Tauon@jabber.ccc.de> schrieb diese Datei. Solange Sie diesen Vermerk nicht entfernen, koennen\r
+        Sie mit dem Material machen, was Sie möechten. Wenn wir uns eines Tages treffen und Sie\r
+        denken, das Material ist es wert, koennen Sie mir dafuer ein ClubMate ausgeben. Tauon\r
+       ----------------------------------------------------------------------------\r
 */\r
 /**************************************************************************/\r
 \r
@@ -43,7 +27,7 @@
 // LCD BACK_LIGHT       Pin 6 of Port 2\r
 // LCD CS               Pin 5 of Port 2\r
 // LCD RESET            Pin 4 of Port 2\r
-// Morr infos           https://github.com/watterott/MI0283QT-Adapter/raw/master/img/connecting-uno.jpg\r
+// More infos           https://github.com/watterott/MI0283QT-Adapter/raw/master/img/connecting-uno.jpg\r
 //\r
 /**************************************************************************/\r
 #include "core/systick/systick.h"\r
@@ -55,7 +39,7 @@
 \r
 \r
 // Screen width, height, has touchscreen, support orientation changes, support hw scrolling\r
-static lcdOrientation_t hx8347dPOrientation = LCD_ORIENTATION_PORTRAIT;\r
+static lcdOrientation_t hx8347dPOrientation = LCD_ORIENTATION_LANDSCAPE;\r
 \r
 // Screen width, height, has touchscreen, support orientation changes, support hw scrolling\r
 static lcdProperties_t hx8347dProperties = { 320, 240, false, true, true };\r
@@ -77,7 +61,7 @@ static lcdProperties_t hx8347dProperties = { 320, 240, false, true, true };
     @brief  Configures any pins or HW and initialises the LCD controller\r
 */\r
 /**************************************************************************/\r
-uint16_t pwmDutyCycleLCDBacklight = 50;\r
+\r
 void lcdInit(void);\r
 void lcdBacklight(bool state);\r
 void lcdTest(void);\r
This page took 0.024827 seconds and 4 git commands to generate.