Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sq7bti committed Sep 17, 2014
1 parent 9acade1 commit e73d02f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
iAccelStepper
=============

interrupt driven stepper controller inherited from AccelStepper

To use this module inherit from the AccelStepper class (http:https://www.airspayce.com/mikem/arduino/AccelStepper/), modify it to expose necessary members into public:

_stepInterval
_direction
_currentPos
_targetPos
_speed
_pin[4]

Within Energia on LM4F target there are only two timers available for free use: Timer1 and Timer2

// SYSCTL_PERIPH_TIMER0, // wiring_analog.c analogWrite()
// SYSCTL_PERIPH_TIMER1,
SYSCTL_PERIPH_TIMER2,
SYSCTL_PERIPH_TIMER3
// SYSCTL_PERIPH_TIMER4, // Tone.c
// SYSCTL_PERIPH_TIMER5, // wiring.c - millis() micros()
// SYSCTL_PERIPH_TIMER6,
// SYSCTL_PERIPH_TIMER7

0 comments on commit e73d02f

Please sign in to comment.