Read sensors and how to setup LocoKit

#include <stdio.h>#include <stdlib.h>#include "locoapi.h"int main( int argc, char *argv[] )   numberOfSensors = getNumberOfSensors(); for( i=0; i<numberOfSensors; i++)   printf("\n"); while(1)     printf("\n");    sleep(1);  } freeLocoAPI();  exit(0);}

Previous page: Programming examples
Next page: Odin