Welcome, Guest

Author Topic: EKG-Shield Programme Code  (Read 964 times)

bobbel

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
EKG-Shield Programme Code
« on: November 26, 2017, 01:47:04 PM »
One should download a library named TimerOne.h and should depose this library in the library folder of the sketckbook. But when looking through the software code of the downloaded EKG shield file, I can not see that his libray TimeOne.h is included in the .ino file. But I read the following comment:
Code: [Select]
// Timer2
 // Timer2 is used to setup the analag channels sampling frequency and packet update.
 // Whenever interrupt occures, the current read packet is sent to the PC
 // In addition the CAL_SIG is generated as well, so Timer1 is not required in this case!
Is the TimerOne.h library not required?
« Last Edit: November 26, 2017, 02:15:33 PM by bobbel »

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1816
  • Karma: +46/-2
Re: EKG-Shield Programme Code
« Reply #1 on: November 27, 2017, 12:24:04 PM »
Is this for the Arduno IDE example? Only FlexiTimer2 seems to be included and required.
Technical support and documentation manager at Olimex

bobbel

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: EKG-Shield Programme Code
« Reply #2 on: November 27, 2017, 04:56:40 PM »
This is the example from the IDE.

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1816
  • Karma: +46/-2
Re: EKG-Shield Programme Code
« Reply #3 on: November 28, 2017, 08:28:12 AM »
Did you install our Arduino package? To be able to select the example for SHIELD-EKG-EMG you might need to select temporarily one of our board OLIMEXINO-328 or OLIMEXINO-32u4.

Check this guide: https://www.olimex.com/Products/Duino/_resources/Arduino_instructions.pdf
Technical support and documentation manager at Olimex