Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.engineering.electrical    |    Electrical engineering discussion forum    |    2,548 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,650 of 2,548    |
|    lovesunnytexas@gmail.com to All    |
|    Getting stuck in this project (1/7)    |
|    31 Jan 16 17:04:22    |
      Here is the first project...I have to write it in C programming language and i       used codewarrior as my software. Please help me              Project 1              Tone-Generation Sub-Program:              Write a sub-program that causes the speaker to sound a tone at a given       frequency.       The speaker is to be connected to a Pulse-Width-Modulation (PWM) output.       The duty cycle is to be 50%.       The frequency is to be supplied as an argument that is a 32-bit integer with       units of 1/100000 Hz.       The tone is to be sounded as a result of calling the sub-program one time.       The tone is to continue until the sub-program is called again at which time a       different tone will be sounded.       If the supplied frequency is zero, the tone is to be turned off.       No interrupts are allowed.       No wait loops are allowed in the tone-generation sub-program.       The range of frequencies is from 10.000000 Hz to 5000.000000 Hz., which       includes the musical notes listed in Table F.1 of the text. The        one-generation sub-program is to be as accurate as possible.              Test Program:              Write a test program to call the sub-program described above.       The test program is to cause ten different tones (including 100 Hz and 5000       Hz) to be sounded.       The test program shall step from one tone to the next as a result of pressing       a button on the Dragon12-Plus board.       After ten tones have been sounded, the next press of the button causes the       tone to stop.                                   What I have done                     ** Abaqus input deck created with Supersurge Submodel (SSS) automation       ** Version: 150205       ** Units: length = mm, mass = kg, time = s, force = mN, pressure = kPa       ** 05/08/15 00:12:09       **       *HEADING       Super Surge Submodel       ****************************************************************       ***************       ** Includes        **       ****************************************************************       ***************       *INCLUDE, INPUT=interactions.inp       *INCLUDE, INPUT=parameters.inp       *INCLUDE, INPUT=part_package.inp       *INCLUDE, INPUT=part_closure_simple.inp       *INCLUDE, INPUT=part_fluid_single_cavity.inp       *INCLUDE, INPUT=part_plate_rigid_back.inp       *INCLUDE, INPUT=part_plate_rigid_bottom.inp       *INCLUDE, INPUT=part_plate_rigid_front.inp       *INCLUDE, INPUT=part_rail_rigid_Solus_WideFlat.inp       ****************************************************************       ***************       ** Assembly        **       ****************************************************************       ***************       *ASSEMBLY, NAME=SSS       *********************************** Packages *******************       ***************        *INSTANCE, NAME=PACKAGE_1, PART=PART_PACKAGE        |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca