Yilin Sun
6baf4427ce
Signed-off-by: Yilin Sun <imi415@imi.moe> |
||
---|---|---|
.. | ||
armgcc | ||
fonts/verasans | ||
graphics | ||
board.c | ||
board.h | ||
clock_config.c | ||
clock_config.h | ||
dcd.c | ||
dcd.h | ||
display_support.h | ||
evkbimxrt1050_sdram_init.jlinkscript | ||
garments.c | ||
guix_washing_machine.c | ||
guix_washing_machine.h | ||
guix_washing_machine_v3_14.xml | ||
gx_display_driver_imxrt10xx_24xrgb.c | ||
gx_display_driver_imxrt10xx_565rgb.c | ||
gx_driver_imxrt10xx_irq.c | ||
gx_touch_driver_imxrt10xx_capacitive.c | ||
gx_user.h | ||
pin_mux.c | ||
pin_mux.h | ||
readme.md | ||
sample_guix_washing_machine.gxp | ||
sample_guix_washing_machine_resources.c | ||
sample_guix_washing_machine_resources.h | ||
sample_guix_washing_machine_specifications.c | ||
sample_guix_washing_machine_specifications.h | ||
temperature.c | ||
tx_user.h | ||
washer_on.c | ||
water_level.c |
readme.md
Overview
The example creates a simple washing machine demonstration. It shows a UI on a LCD panel with touch panel. It also can interact with user.
Define GUIX_PXP_ENABLE to enable Pixel Pipeline engine (PXP). It can accelerate the image process.
SDK version
- Version: 2.15.000
Toolchain supported
- IAR embedded Workbench 9.40.1
- Keil MDK 5.38.1
- GCC ARM Embedded 12.2
- MCUXpresso 11.8.0
Hardware requirements
- Micro USB cable
- EVKB-IMXRT1050 board
- Personal Computer
- RK043FN02H-CT or RK043FN66HS-CT6 LCD board (RK043FN02H-CT and RK043FN66HS-CT6 are compatible)
Board settings
- Connect the LCD board to the on-board LCD connector J8.
Prepare the Demo
- Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
- Open a serial terminal with the following settings:
- 115200 baud rate
- 8 data bits
- No parity
- One stop bit
- No flow control
- Build the project. Note that the project uses the LCD board RK043FN66HS-CT6 by default. To use the LCD board RK043FN02H-CT, change the following line in display_support.h from #define DEMO_PANEL DEMO_PANEL_RK043FN66HS to #define DEMO_PANEL DEMO_PANEL_RK043FN02H
- Write the program to the flash of the target board.
- Press the reset button on your board to start the demo.
Running the demo
When the demo is running, a washing machine UI will display on the LCD panel. User can touch the panel to change the temperature, water level, ...
The serial port will output: Start the GUIX washing machine example...