實現的模擬鍵盤代碼,模擬ps2協議,可以與計算機相連實現鍵盤的功能,在keil c下開發的。-89s51 achieved through KEYBOARD simulation code, simulation ps2 agreement with the computer KEYBOARD connected to the functions of the c Keil under development
1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if
A = 1 2 3 then B = 3 2 1
4 5 6 6 5 4
7 8 9 9 8 7
Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A).
2) Write a program which accepts an input k from the KEYBOARD, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output:
Enter k>0: 100
144 is the smallest fibonacci number greater than or equal to 100.
It is the 12th fibonacci number.
miXo is a buzz machine (www.buzzmachines.com) - a plugin for the freely available jeskola buzz tracker. it allows using the pc KEYBOARD as a mixer which comes in handy when doing live performances with buzz.
Laser Control is a java program that using a webcam detects when a laser pointer is in a specified hotspot and then does the equivalent of pressing a specified KEYBOARD key. thus controlling Media Portal through it s hot keys. the hotspots can be set by the user as well as the actions taken. Make your wall into a remote controll.