Template: add module type and ID, correct functions
This commit is contained in:
parent
084dc34ace
commit
1e129f08ea
1 changed files with 7 additions and 2 deletions
|
@ -5,10 +5,15 @@
|
|||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
obus_module_init();
|
||||
|
||||
// Choose one
|
||||
// Puzzle: a module that must be solved
|
||||
obusmodule_init(OBUS_TYPE_PUZZLE, /* Retrieve ID from MOANA */);
|
||||
// Needy: a module that periodically requires an action not to get strikes
|
||||
// obusmodule_init(OBUS_TYPE_NEEDY, /* Retrieve ID from MOANA */);
|
||||
}
|
||||
|
||||
|
||||
void loop() {
|
||||
obus_module_loop();
|
||||
obusmodule_loop();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue