But compiler keeps yelling "unkown type name 'elapsedMillis'". Anyone has idea why it doesn't work? I noticed i can only include elapsedMillis in main file where i got setup and loop, any other place i try to include it just doesn't work.
The thing is i can only include and use elapsedMillis in main .c file, attepts to include and use them in other files end up with such error. So seems like some kind of error with including.
my main file is "arduino file" not a .c file, can't tell what's the difference here but it might matter
@edit Nevermind the problem was some other .c file instead of .cpp