sensor_commands.h 339 Bytes
Newer Older
1
2
#include <Arduino.h>

3
4
5
6
7
/** Other scripts can use this namespace, in order to define callbacks.
 * Those callbacks can then be used to send commands to the sensor (reset, calibrate, night mode, ...)
 *
 */

8
namespace sensor_commands {
Eric Duminil's avatar
Eric Duminil committed
9
10
  void run(const char *command);
  void defineCallback(const char *command, void (*f)(void*), void *d);
11
}