Attachment 'GEERTCODE.ino'

Download

   1 const int Baudrate = 19200;
   2 const int Digital_Input_Pin = 3; // the pin that the heart-rate sensor is attached which contains INT0
   3 //let op pin 2 bij handgemaakte experimenteerprint, pin3 bij pcb bordje van geert vdb
   4 
   5 void setup() {
   6      Serial.begin(Baudrate); // For sending data to the computer over USB
   7      pinMode(Digital_Input_Pin, INPUT);
   8      attachInterrupt(0, Send_Interval, RISING); // Attach to INT0
   9 }
  10 
  11 void loop() {
  12      // nothing to do, its all in the interrupt handlers!
  13 }
  14 
  15 unsigned long LastTime, NewTime, j;
  16 void Send_Interval() {
  17      NewTime = micros(); // Resolution 4us, only one overrun in 70 minutes
  18      Serial.println(NewTime-LastTime, HEX);
  19      LastTime = NewTime;
  20 }

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2017-02-07 11:20:22, 5586.5 KB) [[attachment:DBB170_Feijs_Langereis_PPG_HW.pdf]]
  • [get | view] (2017-03-14 12:58:48, 11887.3 KB) [[attachment:DBB170_Goudsmit_14032017.pdf]]
  • [get | view] (2017-03-07 08:12:03, 11672.1 KB) [[attachment:DBB170_Vos&Oomen_06032017.pdf]]
  • [get | view] (2017-02-07 11:54:16, 23396.1 KB) [[attachment:DBB170_Vos_06022017.pdf]]
  • [get | view] (2017-03-14 14:23:05, 2841.9 KB) [[attachment:DBB170_Vos_Mini_project_14032017.pdf]]
  • [get | view] (2017-04-06 11:43:52, 13.1 KB) [[attachment:DBM150_rubrics_EINDTOETS V1.xlsx]]
  • [get | view] (2017-02-13 14:10:25, 12.6 KB) [[attachment:DBM150_rubrics_TUSSENTOETS V1.xlsx]]
  • [get | view] (2017-02-21 11:04:39, 2.9 KB) [[attachment:ExperimentalHeartBeatViewer.zip]]
  • [get | view] (2017-02-13 14:07:10, 1265.9 KB) [[attachment:FLOWERSBFB2017P2.zip]]
  • [get | view] (2017-02-13 14:07:32, 1322.3 KB) [[attachment:FLOWERSBFB2017P3.zip]]
  • [get | view] (2017-02-13 14:05:26, 558.3 KB) [[attachment:Feijs Langereis Van Boxtel 2010.pdf]]
  • [get | view] (2017-02-13 14:06:07, 0.7 KB) [[attachment:GEERTCODE.ino]]
  • [get | view] (2017-02-13 14:08:30, 3374.6 KB) [[attachment:Kubios_HRV_Users_Guide.pdf]]
  • [get | view] (2017-02-13 14:06:48, 0.9 KB) [[attachment:MiniHeartBeatViewer.pde]]
  • [get | view] (2017-03-22 12:01:12, 435.3 KB) [[attachment:PNEA TUe onderwijs final maart 2017.pdf]]
  • [get | view] (2017-03-22 12:00:39, 332.0 KB) [[attachment:STRACE intro Cuppen.pdf]]
  • [get | view] (2017-03-14 14:23:34, 294.6 KB) [[attachment:Vos et al_Procedia Engineering_2016.pdf]]
  • [get | view] (2017-02-21 11:04:13, 3587.3 KB) [[attachment:processing4visualisation.pdf]]
  • [get | view] (2017-02-03 07:53:40, 320.0 KB) [[attachment:scheduleV1.jpg]]
  • [get | view] (2017-02-03 09:02:20, 315.7 KB) [[attachment:scheduleV2.jpg]]
  • [get | view] (2017-02-08 13:35:23, 320.4 KB) [[attachment:scheduleV3.jpg]]
  • [get | view] (2017-02-13 14:13:43, 347.4 KB) [[attachment:scheduleV4.jpg]]
  • [get | view] (2017-03-14 13:00:35, 327.6 KB) [[attachment:scheduleV5.jpg]]
  • [get | view] (2017-04-06 11:10:31, 263.1 KB) [[attachment:scheduleV6.jpg]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.