Introduction - If you have any usage issues, please Google them yourself
* Experimental name: relay experiment
* EXPERIMENTAL DESCRIPTION: Use the key to control the relay on and off
* Connection:
* Note:
***************************** /
#include <reg51.h>
// define IO port --- //
Sbit RELAY = P1 ^ 4; // relay IO port
Sbit K1 = P0 ^ 0; // button IO port
/ *****************************
* Function name: main
* Function: Main function
* Enter:
* Output:
***************************** /