Hello,
I used ShiftReg component and want to set its ShiftReg_SR_SIZE actively in my main.h file like
#define ShiftReg_SR_SIZE (12u), but it seems not work.
anyone know how to set it by code?
thanks.
Chris
Solved! Go to Solution.
The shift register size is determined at design-time and cannot be altered at run-time. The reason for that is: The shift register is made out of 1 to 4 UDBs which are programmed using hardware definition language.
Bob
The shift register size is determined at design-time and cannot be altered at run-time. The reason for that is: The shift register is made out of 1 to 4 UDBs which are programmed using hardware definition language.
Bob
Thanks Bob.