Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

SDK • Question about sm_config_set_sideset

$
0
0
Simple question: I have 2 sideset pins and I am using the option to avoid having to define the sideset on every instruction. Do I use 2 or 3 as the count?

Code:

                sm_config_set_sideset(&cfg,sidesetno+sideenable, sideenable, sidepindir);
or

Code:

                sm_config_set_sideset(&cfg, sidesetno, sideenable, sidepindir);
Thanks

Statistics: Posted by matherp — Sun Mar 23, 2025 11:18 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles