A, the use of the keyboard keys control LED lights,
Requirements:
1, use the up control LED1, LED2 down control, right control LED1, LED2 fully open, the left control LED1, LED2 seated, use the up control LED1, LED2 down control, it is to point to each press a button, to turn the state of the light, such as LED1 is bright, press the up, the lights went out; Such as LED1 is quenched, press the up, the light, realize the function of 60-80 points,
2, using the platform mechanism, the top half and bottom half mechanism to achieve 80-90,
3, have other function 90-100 points,
Note:
Keys to shake;
Code plagiarism, copying and copied parties are 0,
You can use the following two ways:
1, design the keyboard driver, Led drive, using the test program background,
2, design a driver to achieve the above functions,
Second, use the UDP protocol in the upper machine control development board LED lights on and off,