LED addresses for the A470 - DryOS Development - CHDK Forum  

LED addresses for the A470

  • 3 Replies
  • 3380 Views
LED addresses for the A470
« on: 20 / February / 2009, 00:39:13 »
Advertisements
Hi all.

Anyone know the LED addresses for the A470? I errr.....thought i knew what they were....turns out I was wrong lol.

There a a few references to various programs that blink the A470 LED's (http://chdk.setepontos.com/index.php/topic,1602.0.html) for example. Any idea what blinker program MrSpoon is referring to in reply #7?

Thanks :)


*

Offline reyalp

  • ******
  • 14082
Re: LED addresses for the A470
« Reply #1 on: 20 / February / 2009, 01:02:41 »
I'd try
0xC022008C
0xC0220088
0xC0220084
0xC0220080

Found by looking for the string LEDCon, finding the function that uses it (sub_FFC3015C), leading to sub_FFCC3E14 which appears to set up a table of addresses and states.

Of course I could be wrong, if those addresses convert your camera to pure anti-matter, don't blame me ;)

Don't forget what the H stands for.

Re: LED addresses for the A470
« Reply #2 on: 20 / February / 2009, 02:33:06 »
hmmm maybe it's my code for the blinky tester thingo because they are the addresses i tried.

HIP HIP HOORAY for debug time!!

Cheers =P

*

MrSpoon

Re: LED addresses for the A470
« Reply #3 on: 22 / February / 2009, 15:47:27 »
Hey, I just came on the check for A470 progress as it happens! I didn't keep note of all the LED addresses I found I'm afraid :-[

I mention one of them in this thread though and link to the blinker I was using :)

Hey, I just came on the check for A470 progress as it happens! I didn't keep note of all the LED addresses I found I'm afraid :-[

I mention one of them in this thread though and link to the blinker I was using :)

EDIT: Just in case anybody reads this thread, I've added which LED is at each address:

AF LED = 0xC0220080
Blue LED = 0xC0220084
Orange state LED = 0xC0220088
Green state LED = 0xC022008C
« Last Edit: 25 / March / 2009, 20:50:24 by MrSpoon »


 

Related Topics