This module provides small example to interface with the LedRangeFinder library for korebot. More...
Go to the source code of this file.
Defines | |
#define | LRF_DEVICE "/dev/ttyACM0" |
Functions | |
int | main (int argc, char *argv[]) |
This module provides small example to interface with the LedRangeFinder library for korebot.
simple led range finder small example
Definition in file klrf_small_ex.c.
#define LRF_DEVICE "/dev/ttyACM0" |
Definition at line 21 of file klrf_small_ex.c.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Main program to process the command line.
Definition at line 29 of file klrf_small_ex.c.
References kb_clrscr(), kb_init(), kb_lrf_Close(), kb_lrf_DistanceData, kb_lrf_GetDistances(), kb_lrf_Init(), kb_lrf_Power_On(), kb_set_debug_level(), LRF_DATA_NB, and LRF_DEVICE.