代码搜索结果

找到约 858 项符合 Stepper 的代码

stepmotor.c

/***************************************************************************** ***FILE: stepmotor.C (Program the INT32 board to drive stepper motors *** ****************************************

module.txt

#include "./ring_buffer/ring.h" #include #include int init_module(void) { int rc; ring_buffer_init(&read_buffer); ring_buffer_init(&write_buffer); read_is_sleeping =

step_2.c

// Program STEP_2.C // // Illustrates accelerating, running and decelerating a stepper for a defined number of steps. // // From rest the stepper is linearly accelerated from 10000 us per half ste

step_1.c

// Program STEP_1.C // // Turns stepper at 300 pulses per second (3333 usec per step) in direction indicated // by switch on PORTB7. Uses Timer 1 in conjunction with CCP1 in Compare - Trigger //

step_3.c

// Program STEP_3.C // // Uses a potentiometer on AN0 (term 2) to control the direction and speed of // a stepper on the lower four bits of PORTB. // // Uses Timer 3 in conjuction with the CCP2 m