Lesson learned for all you Arduino junkies out there: After - TopicsExpress



          

Lesson learned for all you Arduino junkies out there: After importing the TimerOne library I declared a fatal flaw: it does not contain a reference to a context in the call back method, like those seen in the POSIX library when executing a Thread. This is counterintuitive to OO design in C++. So, I added it. This is NOT the lesson. The lesson was that the Arduino compiler did not see my changes. After about two hours of frustration I realized the compiler unpacked the library in {document root}/Arduino/libraries folder, never reading my changed library package, even after re-importing. Either delete it from the folder and re-import or edit it directly from the library folder. #Arduino
Posted on: Sat, 05 Jul 2014 13:33:19 +0000

Recently Viewed Topics




© 2015