Zumo32U4 library
Classes | Variables
Zumo32U4ProximitySensors.h File Reference
#include <stdint.h>
#include <string.h>

Go to the source code of this file.

Classes

class  Zumo32U4ProximitySensors
 Gets readings from the three proximity sensors on the front sensor array. More...
 

Variables

static const uint8_t SENSOR_LEFT = 20
 The pin number for the standard pin that is used to read the left proximity sensor. More...
 
static const uint8_t SENSOR_FRONT = 22
 The pin number for the standard pin that is used to read the front proximity sensor. More...
 
static const uint8_t SENSOR_RIGHT = 4
 The pin number for the standard pin that is used to read the right proximity sensor. More...
 
static const uint8_t SENSOR_NO_PIN = 255
 A constant that can be used in place of a pin number to indicate that no pin should be used. More...
 

Variable Documentation

◆ SENSOR_FRONT

const uint8_t SENSOR_FRONT = 22
static

The pin number for the standard pin that is used to read the front proximity sensor.

Definition at line 16 of file Zumo32U4ProximitySensors.h.

◆ SENSOR_LEFT

const uint8_t SENSOR_LEFT = 20
static

The pin number for the standard pin that is used to read the left proximity sensor.

Definition at line 12 of file Zumo32U4ProximitySensors.h.

◆ SENSOR_NO_PIN

const uint8_t SENSOR_NO_PIN = 255
static

A constant that can be used in place of a pin number to indicate that no pin should be used.

Definition at line 24 of file Zumo32U4ProximitySensors.h.

◆ SENSOR_RIGHT

const uint8_t SENSOR_RIGHT = 4
static

The pin number for the standard pin that is used to read the right proximity sensor.

Definition at line 20 of file Zumo32U4ProximitySensors.h.