Revision 0f2e977af415a52dd8dd51a8d1b3e08b65336af2 authored by alex@thinkpad on 03 March 2017, 17:48:02 UTC, committed by alex@thinkpad on 03 March 2017, 17:48:02 UTC
1 parent eaa8ca8
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