Template: add module type and ID, correct functions

This commit is contained in:
Midgard 2020-08-25 22:09:31 +02:00
parent 084dc34ace
commit 1e129f08ea
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -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();
}