any success with the LED control for the sd1100is ?
void ubasic_set_led(int led, int state, int bright){ int leds[] = {0x134,0x138,0x134,0x130,0xd4,0x3030,0x3030}; // green=4 | yellow | (not used) | orange | blue | af beam | timer// if(led < 4 || led > 10 || led == 6) // map to valid params; no extra TIMER LED (is same as AF) volatile long *p=(void*)0xc0220000 + leds[(led-4)%sizeof(leds)]; if (state) p[0]=0x46; else p[0]=0x44;}
Can I set SD1100 to Macro using property values?If so what numbers should I use?
@title Test LED Scriptsleep 500print "blue on"set_led 8 1 60sleep 500print "blue off"set_led 8 0end
void camera_set_led(int led, int state, int bright){ int leds[] = {0xd0,0x134,0x138,0x134,0x130,0xd4,0x3030,0x3030}; // power=3 | green | yellow | (not used) | orange | blue | af beam | timer if(led >= 3 && led <= 10 && led != 6) // map to valid params; no extra TIMER LED (is same as AF) { volatile long *p=(void*)0xc0220000 + leds[(led-3)%sizeof(leds)]; if (state) p[0]=0x46; else p[0]=0x44; }}
Started by dcollett General Help and Assistance on using CHDK stable releases
Started by wordsonapage RAW Shooting and Processing
Started by dascooby General Help and Assistance on using CHDK stable releases
Started by dudemeister General Help and Assistance on using CHDK stable releases
Started by maniattico General Help and Assistance on using CHDK stable releases