User Tools

Site Tools


milestone_1

Differences

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

Link to this comparison view

milestone_1 [2023/01/02 22:24]
scott [Source Code]
milestone_1 [2023/01/13 16:21] (current)
scott [Requirements]
Line 19: Line 19:
   - Write your own queue code. Don't download code from the internet, it may have bugs in it. Also, since this queue module has extra functions that are not typically included in a queue implementation,​ things will just go faster and easier if you write the code yourselves.   - Write your own queue code. Don't download code from the internet, it may have bugs in it. Also, since this queue module has extra functions that are not typically included in a queue implementation,​ things will just go faster and easier if you write the code yourselves.
   - Your queue code must pass the provided queue_runTest() test.   - Your queue code must pass the provided queue_runTest() test.
-  - You must follow the same [[http://​byu-cpe.github.io/​ecen330/​other/​coding-standard/​|coding standards]] as was done for ECEN 330.+  - You must follow the same [[http://​byu-cpe.github.io/​ecen330/​other/​coding-standard/​|coding standards]] as was done for ECEN 330. **Exception:​ clang-format is not required. Ignore any clang-format rules.**
  
 ---- ----
Line 32: Line 32:
 ==== Queue Coding Help ==== ==== Queue Coding Help ====
   * [[malloc_and_queue|How to use malloc and pointers in '​C'​ with the queue]].   * [[malloc_and_queue|How to use malloc and pointers in '​C'​ with the queue]].
-  * [[queue_and_array|Using an array to implement a queue.]] 
   * [[queue_resources|Queue Code Sketch]].   * [[queue_resources|Queue Code Sketch]].
 +  * [[http://​en.wikipedia.org/​wiki/​Circular_buffer|Circular Buffer]]
  
 ==== Source Code ==== ==== Source Code ====
Line 42: Line 42:
   * lasertag/​support/​queueTest.c   * lasertag/​support/​queueTest.c
  
-You are expected to create and implement the following ​files. See the provided header file (.h) for a description of each function.+You are expected to create and implement the following ​file. See the provided header file (.h) for a description of each function.
   * lasertag/​queue.c   * lasertag/​queue.c
  
Line 53: Line 53:
 {{ ::​milestone1verifyanaloghardware.jpg?​600 }} {{ ::​milestone1verifyanaloghardware.jpg?​600 }}
  
-You will be using the gun mounted on the column. ​In addition to saving ​the FFT plot for your report you also need to save the raw data. The raw data needs to be collected with a sample rate of 100 ksamples/​second. ​ +You will be using the gun mounted on the column. ​Save the raw data from the oscilloscope on a USB flash drive. You can then process the captured data with MATLAB to produce ​FFT plots for the report. The raw data needs to be collected with a sample rate of 100 ksamples/​second.
  
 ** Oscilloscope settings** ** Oscilloscope settings**
milestone_1.1672723498.txt.gz ยท Last modified: 2023/01/02 22:24 by scott