multi-files project with threads [Arduino]
Posted: Tue Dec 23, 2014 12:00 am
Hi all,
Im interrested by someone who already did project with more than 1 file (.cpp) on arduino with ChibiOS.
My problem is that i cant share data between 2 threads on different file (extern doesnt change anything).
Compiler error : dataX undeclared on fileX ...
It works well with 1 file.
(sorry for my english)
Thanks !
Im interrested by someone who already did project with more than 1 file (.cpp) on arduino with ChibiOS.
My problem is that i cant share data between 2 threads on different file (extern doesnt change anything).
Compiler error : dataX undeclared on fileX ...
It works well with 1 file.
(sorry for my english)
Thanks !