/elec/quadcopter

To get this branch, use:
bzr branch http://bzr.ed.am/elec/quadcopter

« back to all changes in this revision

Viewing changes to test/receiver/pulse-freq/main.ino

  • Committer: dan
  • Date: 2014-04-17 01:48:24 UTC
  • Revision ID: dan-20140417014824-jdixduc1osr8ep26
finnished connecting all of the components together #=O)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
// This program tries to measure the frequency of the signal pulses in
8
8
// microseconds.  It takes several measurements and prints out the average over
9
9
// serial.
10
 
//
11
 
// NOTES: This test is not very useful.  Our second experiment was measuring
12
 
// pulse width (../pulse-width).
 
10
 
13
11
 
14
12
// number of signal pulses to average
15
13
#define SIGNAL_SAMPLES 10