mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 01:23:34 +08:00
Mostly cosmetic, partial fixes for STM3240G-EVAL LCD
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4705 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -464,9 +464,16 @@ examples/lcdrw
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
This example may be used to verify if you can or cannot read data
|
||||
correct from an LCD interface. At present, this supports only LCDs
|
||||
correctly from an LCD interface. At present, this supports only LCDs
|
||||
with RGB565 color format.
|
||||
|
||||
* CONFIG_EXAMPLES_LDCRW_DEVNO
|
||||
LCD device number. Default: 0
|
||||
* CONFIG_EXAMPLES_LDCRW_XRES
|
||||
LCD X resolution. Default: 240
|
||||
* CONFIG_EXAMPLES_LDCRW_YRES
|
||||
LCD Y resolution. Default: 320
|
||||
|
||||
examples/mm
|
||||
^^^^^^^^^^^
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ int MAIN_NAME(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* Then read each line from the LCD and write to the TIFF file */
|
||||
/* Loop, writing all possible values to the LCD */
|
||||
|
||||
value = 0;
|
||||
for (row = 0; row < CONFIG_EXAMPLES_LDCRW_YRES; row++)
|
||||
@@ -214,10 +214,7 @@ int MAIN_NAME(int argc, char *argv[])
|
||||
}
|
||||
printf("---f\n");
|
||||
|
||||
/* Then read each line back from the LCD (this would hook into
|
||||
* the TIFF file creation library *very* easily to create a
|
||||
* TIFF file of the returned values).
|
||||
*/
|
||||
/* Then read each line back from the LCD. */
|
||||
|
||||
offset = 0;
|
||||
for (row = 0; row < CONFIG_EXAMPLES_LDCRW_YRES; row++)
|
||||
|
||||
Reference in New Issue
Block a user