Set arduino LOOP_INTERVAL in project-conf.h
This commit is contained in:
parent
3defa16553
commit
d890a492bb
|
@ -56,6 +56,7 @@
|
||||||
#include "adc.h"
|
#include "adc.h"
|
||||||
#include "hw-arduino.h"
|
#include "hw-arduino.h"
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
|
#include "project-conf.h"
|
||||||
|
|
||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|
|
@ -98,4 +98,6 @@
|
||||||
#define SICSLOWPAN_CONF_FRAG 1
|
#define SICSLOWPAN_CONF_FRAG 1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define LOOP_INTERVAL (20 * CLOCK_SECOND)
|
||||||
|
|
||||||
#endif /* PROJECT_RPL_WEB_CONF_H_ */
|
#endif /* PROJECT_RPL_WEB_CONF_H_ */
|
||||||
|
|
|
@ -31,4 +31,5 @@ void setup (void)
|
||||||
|
|
||||||
void loop (void)
|
void loop (void)
|
||||||
{
|
{
|
||||||
|
printf ("Hello\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue