#include <stdio.h>
#include <stdlib.h>
#include "../Utils/Updateable.h"
Go to the source code of this file.
◆ OutputType
Enumerator |
---|
o_ANALOG | |
o_DIGITAL | |
Definition at line 9 of file Output.h.
◆ initOutput()
Initializes an output with the given parameters.
- Parameters
-
output | Pointer to the Output structure to initialize. |
name | Pointer to a string containing the name of the output. |
hz | The frequency in Hertz at which the output operates. |
type | The type of the output as defined by the SensorType enum. |
Definition at line 4 of file Output.c.
4 {
7}
void initUpdateable(Updateable *updateable, const char *name, int hz, UpdateableType utype, void *child)