Set arduino LOOP_INTERVAL in project-conf.h

This commit is contained in:
Ralf Schlatterbeck 2017-08-20 19:42:42 +02:00
parent 3defa16553
commit d890a492bb
3 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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_ */

View file

@ -31,4 +31,5 @@ void setup (void)
void loop (void) void loop (void)
{ {
printf ("Hello\n");
} }