Formatted and added bmi task
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include "esp_err.h"
|
||||
|
||||
#define MOTOR1_FWD_PIN 4
|
||||
#define MOTOR1_BAK_PIN 5
|
||||
#define MOTOR2_FWD_PIN 6
|
||||
#define MOTOR2_BAK_PIN 7
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
MOTOR1,
|
||||
MOTOR2,
|
||||
} motor_t;
|
||||
|
||||
typedef int8_t percentile_t;
|
||||
|
||||
void init_motors();
|
||||
esp_err_t init_motors();
|
||||
void set_motor(motor_t motor, percentile_t percentile);
|
||||
void set_motors(percentile_t left, percentile_t right);
|
||||
|
||||
Reference in New Issue
Block a user