/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 17:32:35 UTC
  • Revision ID: dan-20160410173235-f8nuezes02j1xm21
Modified Schimatic to incorperate pin out for Serial 3 and freed up serial 1 (for use as interupt)

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