Motoron Motor Controller library for Arduino
Loading...
Searching...
No Matches
Classes | Enumerations
Motoron.h File Reference
#include <Arduino.h>
#include <Wire.h>
#include "motoron_protocol.h"

Go to the source code of this file.

Classes

struct  MotoronCurrentSenseReading
 
class  MotoronBase
 
class  MotoronI2C
 
class  MotoronSerial
 

Enumerations

enum class  MotoronCurrentSenseType { Motoron18v18 = 0b0001 , Motoron24v14 = 0b0101 , Motoron18v20 = 0b1010 , Motoron24v16 = 0b1101 }
 
enum class  MotoronVinSenseType { Motoron256 = 0b0000 , MotoronHp = 0b0010 , Motoron550 = 0b0011 }
 

Detailed Description

This is the main header file for the Motoron Motor Controller library for Arduino.

For more information about the library, see the main repository at: https://github.com/pololu/motoron-arduino

Definition in file Motoron.h.

Enumeration Type Documentation

◆ MotoronCurrentSenseType

enum class MotoronCurrentSenseType
strong

Specifies what type of Motoron is being used, for the purposes of current limit and current sense calculations.

Definition at line 30 of file Motoron.h.

◆ MotoronVinSenseType

enum class MotoronVinSenseType
strong

Specifies what type of Motoron is being used, for the purposes of converting raw VIN voltage readings to millivolts.

Enumerator
Motoron256 

M*256 Motorons.

MotoronHp 

High-power Motorons.

Motoron550 

M*550 Motorons.

Definition at line 39 of file Motoron.h.