<commit_before><commit_msg>Update and rename src/arduino to src/arduino/stepper.h<commit_after>#ifndef STEPPER_H
#define STEPPER_H

#include "stdint.h"

typedef struct
{
	uint8_t direction;
	uint32_t speed;
	uint64_t step_delay,last_step_time;
	uint8_t pin_count;
	uint8_t step_number;
	uint8_t p1,p2,p3,p4;
} stepper_t, *stepper;

stepper_t stepper2(uint8_t,uint8_t);
stepper_t stepper4(uint8_t,uint8_t,uint8_t,uint8_t);
void setSpeed(stepper_t *,uint32_t);
void step(stepper_t *,uint8_t);
void stepMotor(stepper_t *,uint8_t);

#endif
{'fraction_non_alphanumeric': 0.10654205607476636, 'fraction_numerical': 0.044859813084112146, 'mean_word_length': 8.241379310344827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5248128', 'n_tokens_mistral': 251, 'n_tokens_neox': 243, 'n_words': 41}