klrf_small_ex.c File Reference

This module provides small example to interface with the LedRangeFinder library for korebot. More...

Include dependency graph for klrf_small_ex.c:

Go to the source code of this file.

Defines

#define LRF_DEVICE   "/dev/ttyACM0"

Functions

int main (int argc, char *argv[])

Detailed Description

This module provides small example to interface with the LedRangeFinder library for korebot.

simple led range finder small example

Author:
J. Tharin : 2011.11.07
Note:
Copyright (C) 2011 K-TEAM SA
Bug:
none discovered.
Todo:

Definition in file klrf_small_ex.c.


Define Documentation

#define LRF_DEVICE   "/dev/ttyACM0"

Definition at line 21 of file klrf_small_ex.c.

Referenced by lrfinit(), and main().


Function Documentation

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.

Here is the call graph for this function:

Generated on Fri Dec 2 09:58:53 2011 for KoreBot Library by  doxygen 1.6.3