Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
DigitalSensor.h
Go to the documentation of this file.
1#ifndef RENNSSELAERMOTORSPORT_DIGITALSENSOR_H
2#define RENNSSELAERMOTORSPORT_DIGITALSENSOR_H
3
4#include "Sensor.h"
5
6typedef struct {
8 int port;
10
19void initDigitalSensor(DigitalSensor* digitalsensor, const char* name, int hz,
20 int port);
21
22#endif // RENNSSELAERMOTORSPORT_DIGITALSENSOR_H
void initDigitalSensor(DigitalSensor *digitalsensor, const char *name, int hz, int port)
Initializes a digital sensor with the given parameters.
Definition: DigitalSensor.c:3
Definition: Sensor.h:14