Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
Button.h
Go to the documentation of this file.
1#ifndef __RENNSSELAERMOTORSPORT_BUTTON_H
2#define __RENNSSELAERMOTORSPORT_BUTTON_H
3
4#include "../DigitalSensor.h"
5
6typedef struct {
8} Button;
9
10void initButton(Button* button, const char* name, int hz, int port);
11int getButtonReading(Button* button);
12
13#endif // __RENNSSELAERMOTORSPORT_BUTTON_H
void initButton(Button *button, const char *name, int hz, int port)
Definition: Button.c:4
int getButtonReading(Button *button)
Definition: Button.c:8
Definition: Button.h:6
DigitalSensor base
Definition: Button.h:7