Jun 09, 2018
07:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2018
07:16 PM
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.
1 Solution
Jun 10, 2018
03:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2018
03:21 AM
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
2 Replies
Jun 10, 2018
03:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2018
03:21 AM
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
Jun 15, 2018
10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 15, 2018
10:31 PM
Thanks Bob.