This programme is to control DC motor in a certain speed using PWM.
The target speed is "r", it is the speed in 1s.
The sample rate is 0.1s, so the actual speed target is "rc"=r/10.
The "r" and "rc" are integer, and the range of "r" is from 50 to 100.
Keep rc=r/10!!!
The array "speed1" and "speed2" are the control result, in 0.1s and 1s.
The length of "speed1" is 2400, and "speed2" is 240.
The "pw" and "nw" are the parameters of PWM.
The test will last 4 min.
Realizing an MP3 player with the LPC2148, using libmad and
EFSL This Application Note describes how to integrate the libmad MPEG 1/2 layer 3 library and
the Embedded File System Library EFSL in a LPC2148 device to realize MP3 player.
The Keil MCB2140 board is used to test the application and the Rowley CrossStudio for
ARM has been chosen as a reference tool-chain.
是一本介紹java基礎應用的好書
Java For Artists targets both the undergraduate computer science or information technology student and the practicing programmer. It is both an introductory-level textbook and trade book.
As a textbook it employs learning objectives, skill-building exercises, suggested projects, and self-test questions to reinforce the learning experience. The projects offered range from the easy to the extremely challenging. It covers all the topics you’d expect to find in an introductory Java programming textbook and then some.
As a trade book it goes purposefully deeper into topics cut short or avoided completely in most introductory textbooks. Its coverage of advanced GUI programming techniques, network programming and object-oriented theory will enable you to take your skills to a higher level.