Tic Tac Toe程序。可以供一到兩個玩家使用。程序中使用了visual basic 計時器,所以每一個步驟都有時間限制。此外,計算機可是一個有簡單智能的對手,他不但不會隨便出手,反而還要竭力贏了你才罷休。 Tic Tac Toe program. One or two players. It uses the visual basic timer, so each move has time limit. Simple artificial intelligence: computer does not play randomly, but "tries" to win and stop you from winning.
上傳時間: 2015-04-11
上傳用戶:sxdtlqqjl
CC386 is a general-purpose 32-bit C compiler. It is not an optimizing compiler but given that the code generation is fairly good. There are two versions one is for MSDOS/DPMI and one is for Win32. The Win32 version has a full-blown IDE capable of editing, building, and debugging windows programs included with it. However at this time debugging support for MSDOS is rudimentary at best and there is no IDE for DOS. the newest version, support windows.
標簽: compiler general-purpose optimizing given
上傳時間: 2015-04-12
上傳用戶:gtzj
CBC下寫的串口編程,API函數實例 I wish this site had been around when I was trying to figure out how to make serial communications work in Windows95. I, like many programmers, was hit with the double-whammy of having to learn Windows programming and Win95 serial comm programming at the same time. I found both tasks confusing at best. It was particularly frustrating because I had, over the years, written so much stuff (including lots of serial comm software) for the DOS environment and numerous embedded applications. Interrupt driven serial comm, DMA transfer serial comm, TSR serial comm, C, assembler, various processors... you name it, it had written it. Yet, everything I knew seemed upside-down in the message-driven-callback world of Windows.
上傳時間: 2014-06-20
上傳用戶:cccole0605
The Molgedey and Schuster decorrelation algorithm, having square mixing matrix and no noise . Truncation is used for the time shifted matrix, and it is forced to be symmetric . The delay Tau is estimated . The number of independent components are calculated using Bayes Information Criterion (BIC), with PCA for dimension reduction.
標簽: decorrelation and algorithm Molgedey
上傳時間: 2013-12-13
上傳用戶:c12228
This firmware translates a PS/2 mouse to a USB mouse. The translator firmware is entirely interrupt driven (with the exception of sending the data via USB to the host.) An interrupt is generated when the PS/2 start bit is received, at which time the firmware will begin its receive routine. In addition to this interrupt, every 168ms a timer overflow interrupts the main program and implements one state of the mouse state machine. This state machine handles sending bytes to and translating bytes received from the PS/2 mouse automatically. All of this is done in the background while the main program runs in the foreground. The only operation that the main program implements is sending mouse data to the PC via USB.
標簽: firmware mouse translates translator
上傳時間: 2015-04-26
上傳用戶:cuiyashuo
//日歷時鐘 //按AN1,進入設置狀態 //按AN2,停止鬧鐘聲音 //按AN3,依次進入鬧鐘功能是否啟用,鬧鐘時,分秒,年,月,日及時間時,分,秒的設置,直到退出設置狀態 //按AN4,調整是否起用鬧鐘和調節鬧鐘時,分,秒,年,月,日,時間的時,分,秒的數字 //LCD第二排中間顯示小喇叭,表示啟用鬧鐘功能,無則禁止鬧鐘功能(可在調整狀態進行設置) //正常狀態,LCD上排最前面顯示自定義字符,LCD下排最前面閃動"willar" //設置狀態,LCD上排最前面顯示"P",下排最前面在設置鬧鐘時間時顯示"alarm:",其它狀態顯示"time" //年代變化2000--2099,星期自動轉換
上傳時間: 2013-12-26
上傳用戶:hustfanenze
日歷時鐘 按AN3,依次進入鬧鐘功能,鬧鐘時間,年,月,日和時,分,秒模式,直致退出設置狀態 按AN4,調整是否起用鬧鐘和調節鬧鐘時,分,秒,年,月,日,時間的時,分,秒的數字 鬧鐘響時,按AN4即可停止鬧鐘的聲響 正常狀態,上排最前面顯示一自定義字符,下排最前面閃動"willar" 設置狀態,LCD上排最前面顯示"P",下排最前面設置鬧鐘時顯示"alarm:",其他顯示"time:" 鬧鐘啟用時,在LCD下排中間顯示一小喇叭,鬧鐘禁用時,無此小喇叭 年代變化2000--2099,星期自動轉換
上傳時間: 2014-01-10
上傳用戶:wendy15
The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.
標簽: KEIL_IODemo allocation routines project
上傳時間: 2013-12-08
上傳用戶:ve3344
UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.
標簽: Allocation GNU_IODemo Example project
上傳時間: 2015-05-04
上傳用戶:Amygdala
he LPC932 can be used to create a Pulse Width Modulated PWM signal. That s an analog signal, with only 2 discrete levels, for example 0V and 5V and a constant period. The current value of this signal at a certain poiTnt of time is proportional to its Duty Cycle. That s the High Time during one period divided by the period. It can also be calculated as the average value during a particular period. That means after low pass filtering, (e.g. RC circuit) the signal becomes analog, with an actual value controlled by the microcontroller. The PWM functionality enables the LPC932 to control for example the speed of DC motors or the brightness of electric lighting.
標簽: signal Modulated analog create
上傳時間: 2015-05-14
上傳用戶:CHINA526