X-Git-Url: http://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/6f4e53a678c6b25d984fce457057a351df3a0319..881086f2763ba782422f5edf5d65bbf25dfa640b:/drivers/lcd/tft/hw/ssd1351.c diff --git a/drivers/lcd/tft/hw/ssd1351.c b/drivers/lcd/tft/hw/ssd1351.c index 0644e2f..b53d9e3 100644 --- a/drivers/lcd/tft/hw/ssd1351.c +++ b/drivers/lcd/tft/hw/ssd1351.c @@ -1,7 +1,7 @@ /**************************************************************************/ /*! @file SSD1351.c - @author K. Townsend (microBuilder.eu) + @author K. Townsend (www.adafruit.com) @section DESCRIPTION @@ -13,7 +13,7 @@ Software License Agreement (BSD License) - Copyright (c) 2010, microBuilder SARL + Copyright (c) 2012, Adafruit Industries All rights reserved. Redistribution and use in source and binary forms, with or without @@ -188,7 +188,8 @@ void lcdInit(void) CMD(SSD1351_CMD_SETGPIO); DATA(0x00); // Disable GPIO pins CMD(SSD1351_CMD_FUNCTIONSELECTION); - DATA(0x00); // External VDD + DATA(0x00); // External VDD (0 = Internal, 1 = External???)* + // Which is it ... DS is contradictory here! CMD(SSD1351_CMD_SETPHASELENGTH); DATA(0x32); CMD(SSD1351_CMD_SETSEGMENTLOWVOLTAGE);