Tool/software: TI C/C++ Compiler
I am trying to setup motor parameters from E2PROM in instaspin labs. My intention is to comment out motor parameters in user.h files and set the values inside code with appropriate values stored in E2Prom.
However, as comment out, any of the parameters, an compiler error is flashed, saying XXXX parameter is not defined. I found out that this error is also triggered via user.h appropriate lines....
In view of this can anybody comment if
1. instaspin or spintac libraries need these constants inside ?
2. If yes, is there any way to use E2PROM values?
3. If no, can I comment out lines triggering compiler warnings and append code as appropriate?