ameba-sdk-gcc-make/project/realtek_ameba1_va0_example/example_sources/uart
2016-06-04 19:09:35 +08:00
..
src first commit and add gitignore, README.md 2016-06-04 19:09:35 +08:00
readme.txt first commit and add gitignore, README.md 2016-06-04 19:09:35 +08:00

Example Description

This example describes how to use UART to communicate with PC.

Required Components:
    USBtoTTL adapter

Connect to PC
 - Connect Ground: connect to GND pin via USBtoTTL adapter
 - Use UART1
	GPIOA_6 as UART1_RX connect to TX of USBtoTTL adapter
	GPIOA_7 as UART1_TX connect to RX of USBtoTTL adapter

Open Super terminal or teraterm and 
set baud rate to 38400, 1 stopbit, no parity, no flow contorl.

This example shows:
User input will be received by demo board, and demo board will loopback the received character with a prompt string "8195a$".