Thunderbots Project
Loading...
Searching...
No Matches
Geneva Class Reference

#include <geneva.h>

Public Member Functions

 Geneva ()
 
TbotsProto_Geneva_Slot getCurrentSlot ()
 

Static Public Attributes

static TbotsProto_Geneva_Slot current_slot = TbotsProto_Geneva_Slot_CENTRE
 

Detailed Description

Represents the geneva motor on the power board

Constructor & Destructor Documentation

◆ Geneva()

Geneva ( )

Creates a Geneva setting up relevant pins and attaching interrupts

Member Function Documentation

◆ getCurrentSlot()

TbotsProto_Geneva_Slot getCurrentSlot ( )

Returns the current slot of the geneva motor

Returns
the current slot of the geneva motor

The documentation for this class was generated from the following files: