/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: 2016-04-10 13:36:22 UTC
  • Revision ID: dan-20160410133622-eagrslv007bj3loz
Updated Megashield project after long time

Show diffs side-by-side

added added

removed removed

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