/*****************************************************************************
* | File      	:   Readme_CN.txt
* | Author      :   Waveshare team
* | Function    :   Help with use
* | Info        :
*----------------
* |	This version:   V1.0
* | Date        :   2023-09-11
* | Info        :   Here is an English version of the documentation for your quick use.
******************************************************************************/
This file is to help you use this Demo.
A brief description of the use of this project is here:

1. Basic information:
This Demo has been verified using the RTC WatchDog HAT (B). 
You can view the corresponding test routines in the examples\ of the project;

2. Pin connection:
Pin connections can be viewed in lib Config DEV_Config.C. Here again:
RTC                 =>    X3 PI(BCM)
VCC                 ->    3.3V
GND                 ->    GND
SDA                 ->    2
SCL                 ->    3

    
3.Installation library
X3 Pi
    Installation wiringPi
        1.	sudo apt install git-core
        2.	git clone https://gitee.com/study-dp/WiringPi.git
        3.	cd WiringPi
        4.	./build
        5.	#Enter the following command to display the software version, then the installation is successful
        6.	gpio -v
        7.	# Running gpio -v will appear version 2.70, if there is no error, the installation is wrong.
    
In the Makefile
    # USELIB = USE_BCM2835_LIB
    # USELIB = USE_WIRINGPI_LIB
    USELIB = USE_DEV_LIB
X3 Pi stand by WIRINGPI and DEV_LIB

4. Basic use:
Test the program in the examples\ directory:
    make clean 
    make
    sudo ./main