You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c-gpio-intro/main.c

14 lines
251 B
C

#include <stdio.h>
int main (int argc, char *argv[]){
printf("Hello from Raspberry Pi!\n");
printf("Number of arguments: %d\n",argc);
printf("Program is reciving: %s\n",argv[0]);
if (argc > 1)
printf("Argument: %s\n", argv[1]);
return 0;
}