https://bitbucket.org/daniel_fort/magic-lantern
Revision eca5a302e4ae2cc85faa8e34a2fed5ab4e6ae9a1 authored by Albert Shih on 15 February 2014, 00:56:25 UTC, committed by Albert Shih on 15 February 2014, 00:56:25 UTC
1 parent 02d283f
Raw File
Tip revision: eca5a302e4ae2cc85faa8e34a2fed5ab4e6ae9a1 authored by Albert Shih on 15 February 2014, 00:56:25 UTC
50D: added dummy stubs for sound_recording_enabled functions
Tip revision: eca5a30
hello.c
/*
@title Hello, World!
@param n Pics to take
@range n 0 5
*/

printf("Hello from PicoC!\n");

sleep(2);

for (int i = 0; i < n; i++)
{
    printf("Taking pic %d of %d...\n", i+1, n);
    sleep(1);
    takepic();
}

printf("Done :)\n");
back to top