DCCpp
This is the library version of a program for Arduino to control railroading DCC devices.
SensorData Struct Reference

#include "Sensor.h"

Public Attributes

int snum
 
byte pin
 
byte pullUp
 

Detailed Description

Data associated to each Sensor.

Definition at line 21 of file Sensor.h.

Member Data Documentation

byte SensorData::pin

The arduino pin number the sensor is connected to.

Definition at line 23 of file Sensor.h.

byte SensorData::pullUp

1 = use internal pull-up resistor for pin, 0 = don't use internal pull-up resistor for pin.

Definition at line 24 of file Sensor.h.

int SensorData::snum

the numeric ID (0-32767) of the sensor.

Definition at line 22 of file Sensor.h.


The documentation for this struct was generated from the following file: