C client for GEX. bare-bones, low level access
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gex-client-c/main.c

18 lines
267 B

#include <stdio.h>
#include <stdlib.h>
#include "gex_client.h"
int main()
{
GexClient *gex = GEX_Init("/dev/ttyACM0", 200);
if (!gex) {
fprintf(stderr, "FAILED TO CONNECT, ABORTING!\n");
exit(1);
}
printf("Hello, World!\n");
GEX_DeInit(gex);
return 0;
}