led_set third argument ?
3 posts
• Page 1 of 1
led_set third argument ?
What should led_set's third argument "uint32 dutylength" do ? For me it seems to do nothing at all.
- Code: Select all
led_set(LED_1,50.0,500);
- Code: Select all
led_set(LED_1,50.0,0);
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: led_set third argument ?
It depends of the connected controller. On PS3 controllers this parameter sets the period the LED should blink, with duty cycle of 50%. On PS4 controllers this does not have any effect. This parameter reflects an actual feature of the controller. Alternatively, the Titan Two have another way to control the LED blinking, utilizing led_vm* functions.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: led_set third argument ?
Okay, I am using PS4/DS4 so its fine that there is no effect from the third argument.
I really do miss the GPC Language Reference of Gtuner Pro 3.5. It was a great help with all the example code.
I can't wait to have such a reference updated/available for Gtuner IV
I really do miss the GPC Language Reference of Gtuner Pro 3.5. It was a great help with all the example code.
I can't wait to have such a reference updated/available for Gtuner IV
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
3 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 78 guests