/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-09 22:59:40 UTC
  • Revision ID: dan-20140409225940-64srkn73u19fp42r
Added the latest project file (mega-shield.pro)

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