Hi,
I only have hints. This is a DIGIC 5 camera, previously used methods for setting LEDs don't really work on these anymore.
Since you're already using a Canon Basic script, you could try the following:
There is an event procedure named LEDDrive . It is registered by the Driver.Create event procedure. LEDDrive has three arguments: the first one is the id of the LED (0,1,2,...), the second one is the LED's state (0=off, 1=on), the third is probably the brightness of the AF LED (0..255? just guessing). The maximum LED id is probably less than 16.
New cameras usually only have 2 LEDs (power, AF) that can be accessed by this event procedure.
Once you know the IDs of the two LEDs, try reading back the appropriate DIGIC register from the following list:
GPIO table, fw 100d
ff423aa0: c022c0ac
ff423aa4: c022c0b0
ff423aa8: c022c0b4
ff423aac: c022c0b8
ff423ab0: c022c0bc
ff423ab4: c022c0c0
ff423ab8: c022c0c4
ff423abc: c022c0c8
ff423ac0: c022c0cc ; #8
ff423ac4: c022c0d0
ff423ac8: c022c0d4
ff423acc: c022c0d8
ff423ad0: c022c0dc
ff423ad4: c022c0e0
ff423ad8: c022c0e4
ff423adc: c022c0e8
ff423ae0: c022c0ec
ff423ae4: c022c0f0 ; #17
ff423ae8: c022c0f4
ff423aec: c022c0f8
ff423af0: c022c0fc
ff423af4: c022c100
ff423af8: c022c104
ff423afc: c022c108
ff423b00: c022c10c
ff423b04: c022c110
ff423b08: c022c114
ff423b0c: c022c118
ff423b10: c022c11c
ff423b14: c022c120
ff423b18: c022c124
ff423b1c: c022c128
ff423b20: c022c12c
ff423b24: c022c130
ff423b28: c022c134
ff423b2c: c022c138
ff423b30: c022c13c
ff423b34: c022c140
ff423b38: c022c144
ff423b3c: c022c148
ff423b40: c022c14c
ff423b44: c022c150
ff423b48: c022c154
ff423b4c: c022c158
ff423b50: c022c15c
ff423b54: c022c160
ff423b58: c022c164
ff423b5c: c022c168
ff423b60: c022c16c
ff423b64: c022c170
ff423b68: c022c174
ff423b6c: c022c178
ff423b70: c022c17c
ff423b74: c022c180
ff423b78: c022c184
ff423b7c: c022c188
ff423b80: c022c18c
ff423b84: c022c190
ff423b88: c022c194
ff423b8c: c022c198
ff423b90: c022c19c
ff423b94: c022c1a0
ff423b98: c022c1a4
ff423b9c: c022c1a8
ff423ba0: c022c1ac
ff423ba4: c022c1b0
ff423ba8: c022c1b4
ff423bac: c022c1b8
ff423bb0: c022c1bc
ff423bb4: c022c1c0
ff423bb8: c022c1c4
ff423bbc: c022c1c8
ff423bc0: c022c1cc
ff423bc4: c022c1d0
ff423bc8: c022c1d4
ff423bcc: c022c1d8
ff423bd0: c022c1dc
ff423bd4: c022c1e0
ff423bd8: c022c1e4
ff423bdc: c022c1e8
ff423be0: c022c01c
ff423be4: c022c024
ff423be8: c022c010
ff423bec: c022c014
ff423bf0: c022c004
ff423bf4: c022c008
ff423bf8: c022c020
ff423bfc: c022c00c
ff423c00: c022c018
ff423c04: c022c028
ff423c08: c022c060
ff423c0c: c022c064
ff423c10: c022c068
ff423c14: c022c06c
ff423c18: c022c070
ff423c1c: c022c074
ff423c20: c022c078
ff423c24: c022c1fc
ff423c28: c022c200
I have the suspicion that the two LEDs are tied to the marked two GPIO addresses (#8 and #17), so try reading back the 32bit value of 0xc022c0cc and 0xc022c0f0 ( you could use Peek32 which is registered by System.Create ) after you
- turned one of the LEDs on
- turned the LED off
If the values you're seeing are changing, you could post them here. I have an idea how to turn them on and off directly, but I can't try that myself.
Sorry for the long and perhaps confusing post.