more oled fixes

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2677 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-05-15 23:03:17 +00:00
parent 19d41ed5ff
commit 9ccd158477
4 changed files with 8 additions and 4 deletions

View File

@ -727,7 +727,7 @@ int lm3s_configgpio(uint32_t cfgset)
putreg32(regval, LM3S_SYSCON_RCGC2);
/* First, set the port to digital input. This is the safest state in which
* to perform reconfiguation.
* to perform reconfiguration.
*/
lm3s_gpiofunc(base, pinno, &g_funcbits[0]);

View File

@ -97,6 +97,10 @@ OLED
- PC7: OLED display data/control select (D/Cn)
- PA3: OLED display chip select (CSn)
NOTE: Newer versions of the LM3S6965 Evaluation Kit has an OSAM 128x64x4 OLED
display. Some tweaks to drivers/lcd/p14201.c would be required to support that
LCD.
Development Environment
^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -105,7 +105,7 @@
* - PA3: OLED display chip select (CSn)
*/
#define OLEDDC_GPIO (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STDWPU | GPIO_STRENGTH_4MA | \
#define OLEDDC_GPIO (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STD | GPIO_STRENGTH_8MA | \
GPIO_VALUE_ONE | GPIO_PORTC | 7)
#define OLEDCS_GPIO (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STDWPU | GPIO_STRENGTH_4MA | \
GPIO_VALUE_ONE | GPIO_PORTA | 3)

View File

@ -407,14 +407,14 @@ static const uint8_t g_setallcol[] =
{
SSD1329_SET_COLADDR,
0,
RIT_YRES-1
(RIT_XRES/2)-1
};
static const uint8_t g_setallrow[] =
{
SSD1329_SET_ROWADDR,
0,
RIT_XRES-1
RIT_YRES-1
};
/**************************************************************************************