1 Reply Latest reply on Mar 12, 2017 9:14 AM by user_1377889

    Best way to call API's with only a different number?

    info_1957421

      How is the best way to call API's with only a different number? Example:

         

              PWM1_Start();
              PWM2_Start();
               ......
              PWM12_Start();
         
      OR

         

              PWM1_Stop();
              PWM2_Stop();
              .....
              PWM12_Stop();
           

         

      like:

         

              for(i=1;i<=12;i++) {

         

                      PWM[i]_Stop();

         

               }

         

      Regards,

         

      Michael