Dezibot 4
Loading...
Searching...
No Matches
Motion.h File Reference

This component controls the ability to rotate and change position. More...

#include <stdint.h>
#include <Arduino.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include "driver/ledc.h"
#include "motionDetection/MotionDetection.h"
+ Include dependency graph for Motion.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Motor
 
class  Motion
 

Macros

#define LEDC_MODE   LEDC_LOW_SPEED_MODE
 
#define TIMER   LEDC_TIMER_2
 
#define CHANNEL_LEFT   LEDC_CHANNEL_3
 
#define CHANNEL_RIGHT   LEDC_CHANNEL_4
 
#define DUTY_RES   LEDC_TIMER_13_BIT
 
#define FREQUENCY   (5000)
 
#define DEFAULT_BASE_VALUE   3900
 

Detailed Description

This component controls the ability to rotate and change position.

Author
Jonathan Schulze, Nick Hübenthal, Hans Haupt
Version
0.2
Date
2023-12-13

Definition in file Motion.h.

Macro Definition Documentation

◆ CHANNEL_LEFT

#define CHANNEL_LEFT   LEDC_CHANNEL_3

Definition at line 22 of file Motion.h.

◆ CHANNEL_RIGHT

#define CHANNEL_RIGHT   LEDC_CHANNEL_4

Definition at line 23 of file Motion.h.

◆ DEFAULT_BASE_VALUE

#define DEFAULT_BASE_VALUE   3900

Definition at line 26 of file Motion.h.

◆ DUTY_RES

#define DUTY_RES   LEDC_TIMER_13_BIT

Definition at line 24 of file Motion.h.

◆ FREQUENCY

#define FREQUENCY   (5000)

Definition at line 25 of file Motion.h.

◆ LEDC_MODE

#define LEDC_MODE   LEDC_LOW_SPEED_MODE

Definition at line 20 of file Motion.h.

◆ TIMER

#define TIMER   LEDC_TIMER_2

Definition at line 21 of file Motion.h.