User Tools

Site Tools


lab3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lab3 [2014/02/06 04:50] allisonlab3 [2014/02/09 13:25] (current) allison
Line 12: Line 12:
   * Open the lab stationary using CodeWarrior located in:   * Open the lab stationary using CodeWarrior located in:
 <code>LABXX/Micrium/Software/EvalBoards/Freescale/MC9S12DG256B/WytecDragon12/Metrowerks/Paged/ <code>LABXX/Micrium/Software/EvalBoards/Freescale/MC9S12DG256B/WytecDragon12/Metrowerks/Paged/
-   OS-Probe-LCD/OS-Probe-LCD.mcp</code> Note you can use the sample project from lab 2 as a baseline for integrating the code [[lab3:Resources|below]].+   OS-Probe-LCD/OS-Probe-LCD.mcp</code> Note you can use the sample project from lab 2 as a baseline for integrating the code [[lab3#Resources|below]].
   * Add a task that every 300 ms calls ir_range(ATD0DR0)  //Shouldn't this be get_ir_range_and_change_servo_motor_accordingly(ATD0DR0)?//   * Add a task that every 300 ms calls ir_range(ATD0DR0)  //Shouldn't this be get_ir_range_and_change_servo_motor_accordingly(ATD0DR0)?//
   * Connect the VCC and ground wires of Servo and IR Range Finder. Make sure you have +5 volts and have a common ground between the microprocessor and your power supply.   * Connect the VCC and ground wires of Servo and IR Range Finder. Make sure you have +5 volts and have a common ground between the microprocessor and your power supply.
Line 18: Line 18:
   * Double check your circuitry with your TA before powering up anything.   * Double check your circuitry with your TA before powering up anything.
   * Recompile the project and transfer the binaries to Dragon12 board. {{:icon3.jpg}}   * Recompile the project and transfer the binaries to Dragon12 board. {{:icon3.jpg}}
 +
 +==== Submission ====
 +Submit the source code and a report brief outlining the design using the command: submit 4352 lab3 filename to submit your report and and code. (Use “man submit” for details on how to use the submit command. The “course” is “4352”, the “assignment” is “lab3”.) 
  
 ==== Reference Manuals ==== ==== Reference Manuals ====
lab3.1391662219.txt.gz · Last modified: 2014/02/06 04:50 by allison

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki