This is a example application for StarBoard Orange designed by @logic_star. This example can be drive a CHORO Q HYBRID.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers appconf.h Source File

appconf.h

00001 #ifndef _APPCONF_H_
00002 #define _APPCONF_H_
00003 
00004 #include "ChoroQ.h"
00005 
00006 typedef struct {
00007     ChoroQ::Channel channel;
00008 } appconf_t;
00009 
00010 /**
00011  * Initialize a configuration.
00012  *
00013  * @param p A pointer to a configuration structure.
00014  */
00015 void appconf_init(appconf_t *p);
00016 
00017 /**
00018  * Read a configuration.
00019  *
00020  * @param p A pointer to a configuration structure.
00021  *
00022  * @return Return 0 if read succeed.
00023  */
00024 int appconf_read(appconf_t *p);
00025 
00026 #endif