summaryrefslogtreecommitdiff
path: root/tube-rotator/stepper.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-05-18 02:56:48 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-05-18 02:56:48 +0200
commit20b6f742cf815d329d8c5b7d8711fedd1c223d94 (patch)
tree2634130322bf1f29cb598ad23b60c7d6f0a4042c /tube-rotator/stepper.c
parentadded tube-rotator project (diff)
higher stepper speed
Diffstat (limited to 'tube-rotator/stepper.c')
-rw-r--r--tube-rotator/stepper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tube-rotator/stepper.c b/tube-rotator/stepper.c
index 1bb9cae..ff68072 100644
--- a/tube-rotator/stepper.c
+++ b/tube-rotator/stepper.c
@@ -63,7 +63,7 @@ void stepper_start(void)
STEPPER_PORT |= (1<<STEPPER_ENABLE_A_BIT) | (1<<STEPPER_ENABLE_B_BIT);
TCCR1A = 0; // prescaler 1:256, WGM = 4 (CTC)
TCCR1B = 1<<WGM12 | 1<<CS12; //
- OCR1A = 150;
+ OCR1A = 20;
TCNT1 = 0;
TIMSK1 = 1<<OCIE1A;
}