Olimex Support Forum

DUINO => SHIELDS => Topic started by: devobtch on February 01, 2013, 12:51:43 AM

Title: error compiling
Post by: devobtch on February 01, 2013, 12:51:43 AM
hi

i get
'FlexiTimer2' has not been declared
error

ShieldEkgEmgDemo.ino: In function 'void setup()':
ShieldEkgEmgDemo:139: error: 'FlexiTimer2' has not been declared
ShieldEkgEmgDemo:140: error: 'FlexiTimer2' has not been declared

i'm using arduino 1.03
i have loaded all the libraries in the instructions including
FlexiTimer2

any ideas what i'm doing wrong?

thanks

devobtch
Title: Re: error compiling
Post by: LubOlimex on February 15, 2013, 03:07:26 PM
You have probably extracted the libraries (FlexiTimer and TimerOne) in a folder. Which makes it a folder in folder and Arduino IDE can't recognize the example. Make sure that the contents of the library are directly in a folder located in libraries.

The example here compiles fine with Arduino 1.0.3 and Windows 7.

Best regards,
Lub/OLIMEX