Revision 9d5fd8b80c56819aa930b1a021b21ed05db7718c authored by a1ex on 15 February 2014, 18:47:12 UTC, committed by a1ex on 15 February 2014, 18:47:12 UTC
1 parent f650378
Raw File
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