embedded-course How to run chmod +x run.sh ./run.sh If you want to compile each file independently execute gcc -std=gnu99 filename.c -o filename And run it with ./filename <duration> <sampling_period>