I want to know which LED number corresponds to which LED. e.g. set_led(0,1) turns on Upper LED adjacent to EVF
Quote from: reyalp on 08 / September / 2019, 19:39:51I want to know which LED number corresponds to which LED. e.g. set_led(0,1) turns on Upper LED adjacent to EVFHere you go:0 Upper LED near EVF in Green1 Upper LED near EVF in Orange2 Lower LED near EVF3 LED in power button4 - I don't see it5 LED next to ISO Dial6 LED next EV +/- Dial
Thanks, does 4 maybe control the AF assist LED on the front of the cam?
Not that I can see it. Tried various modes, nothing seems to blink or flicker either...
Does it come on if you half press with AF assist enabled in the canon UI?
Yes, AF Beam was turned on on the Canon Menu and it comes on in a dark room on half press just fine.It did not light up with any of the LED calls. Anything else to try to find it?
=return call_func_ptr(0xff85f674, LED_number,state)
You could try calling the LEDDrive function directly
> =return call_func_ptr(0xff85f674, 4,0)8:return:3> =return call_func_ptr(0xff85f674, 5,0)9:return:3> =return call_func_ptr(0xff85f674, 6,0)10:return:3> =return call_func_ptr(0xff85f674, 7,0)11:return:3> =return call_func_ptr(0xff85f674, 8,0)12:return:3> =return call_func_ptr(0xff85f674, 10,0)13:return:0> =return call_func_ptr(0xff85f674, 10,1)14:return:0> =return call_func_ptr(0xff85f674, 11,0)15:return:0> =return call_func_ptr(0xff85f674, 11,1)16:return:0> =return call_func_ptr(0xff85f674, 12,0)17:return:3> =return call_func_ptr(0xff85f674, 13,0)18:return:3> =return call_func_ptr(0xff85f674, 10,0)19:return:0> =return call_func_ptr(0xff85f674, 11,0)20:return:0> =return call_func_ptr(0xff85f674, 10,1)21:return:0
10 and 11 both turn the AF Beam LED on and off. No discernible difference between the two. You can turn on with 11, then turn off with 10, too.
chdkptp -e"exec require'camtests'.runbatch{bench=true,xfersizebugs=true,filexfer=true}"
Thanks. Just mentioning in case you weren't looking at the other LEDs: On my elph130, I found some values controlled multiple LEDs, so 12 controlled both the power and AF leds, while 4 only controlled AF.
You can try running MD_tune as described on https://chdk.fandom.com/wiki/Testing#MD_tune.bas
Put the cam under a pillow... Wasn't sure if it would end but after 500+ runs decided that I'd look at the script ;-) No errors.
Started by kxp General Help and Assistance on using CHDK stable releases
Started by pigeonhill General Help and Assistance on using CHDK stable releases
Started by toby LUA Scripting
Started by JvdP « 1 2 » General Discussion and Assistance
Started by axman General Help and Assistance on using CHDK stable releases