Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
sm_esc.h
- Committer:
- GaspardD
- Date:
- 2019-09-29
- Revision:
- 3:1b7eb426247e
- Parent:
- 2:e9d928fd327a
- Child:
- 5:8bbe640528bc
File content as of revision 3:1b7eb426247e:
#ifndef SM_ESC_H #define SM_ESC_H #include "utils.h" #define ESC_PERIOD_DURATION_MS 20 //20 ms is default #define ESC_PULSE_MIN_US 1000 #define ESC_PULSE_MAX_US 2000 #define ESC_PULSE_IDLE_US 1500 /* Enums */ typedef enum{ ESC_DISABLED, ESC_INIT, ESC_COMMAND }E_STATE_ESC; /* Variables */ /* Functions */ void init_sm_esc(); void update_sm_esc(); void output_sm_esc(); #endif