Files
MyrysRover/Code/mcp.c
2026-05-27 06:45:41 +02:00

24 lines
540 B
C

/*
* MYRYS ROVER
* MASTER CONTROL PROGRAM
*/
#include <stdio.h>
#include <unistd.h>
#include "protocol.h"
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
int main(int argc, char *argv[])
{
int foo;
fprintf(stderr, "******* hello from Myrys Rover MCP\n");
fprintf(stderr, "\tyour pid is %ld\n", (long)getpid());
foo = send_a_ping(0, "wtf bro ?", 42);
fprintf(stderr, "\tpong return value is $%06x\n", foo);
return 0;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */