I’m having a really tough time getting my C++ program in Codeblocks to recognize the tic.h or tic.hpp library. When I try to add #include <tic.hpp> it says that it can’t find the library. I’m fairly new to this but I have been able to control my stepper motor with the program that I wrote so I’m not completely clueless.
Specifically, I want to read the current position that the Tic thinks it is at before I start to move the motor. Setting a position and sending that to the Tic is pretty simple using ticcmd, but reading the current position doesn’t seem easy at all when using ticcmd. If I could access the tic.hpp library, I think that I could pretty easily access the current position.
I guess what I’m really asking for is help getting the tic.hpp library into Codeblocks or a simple way to read the current position that doesn’t requre the tic libraries. Thanks.
4 posts - 2 participants