I wonder if somebody could help me out. Sorry, this is a beginner’s question.
I wrote a class for a sensor and I am including to sort an array.
When I include my own little library in my arduino sketch, the IDE is telling me it can’t find file algorithm.
/home/eovento/sketchbook/libraries/DistanceSensorHCSR04/DistanceSensorHCSR04.cpp:3:29: fatal error: algorithm: No such file or directory compilation terminated.
I have been successful in writing other classes for Arduino without including anything from the standard library. And I have also managed to write other stand alone applications in c++ using the standard library.
I wonder if you could help me?
I am using:
Arduino IDE 1.0.1
(and emacs to edit DistanceSensorHCSR04.h and DistanceSensorHCSR04.cpp)
Thank you so much!!!