Skip to content

aagrxyz/encoder_beagle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Encoder Library For BeagleBone Black

This Library can be used to directly use to measure the encoder ticks, when connected to the eQEP Module of the BeagleBone Black. The Library uses memory mapping, and thus reads directly from the memory registers, instead of reading from the files. This makes the library very fast and effecient to be used in robotic systems.

Usage

To Use the lirary in a C++ program running on BeagleBone Black just import the "encoder.h" and create a object of the encoder class as follows :

 encoder enc(2);              // 2 refers to the EQEP module to which encoder is connected
 long ticks = enc.read()     // reads the encoder ticks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages