brushless motor control library with l293d

Dependents:   brushless_L293D

Committer:
BaserK
Date:
Tue Jul 21 07:59:50 2015 +0000
Revision:
6:7cab71c38d62
Parent:
5:5df174756f84
comment update

Who changed what in which revision?

UserRevisionLine numberNew contents of line
BaserK 5:5df174756f84 1 /*
BaserK 5:5df174756f84 2 * Copyright (c) 2015, Baser Kandehir, baser.kandehir@ieee.metu.edu.tr
BaserK 5:5df174756f84 3 *
BaserK 5:5df174756f84 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
BaserK 5:5df174756f84 5 * of this software and associated documentation files (the "Software"), to deal
BaserK 5:5df174756f84 6 * in the Software without restriction, including without limitation the rights
BaserK 5:5df174756f84 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
BaserK 5:5df174756f84 8 * copies of the Software, and to permit persons to whom the Software is
BaserK 5:5df174756f84 9 * furnished to do so, subject to the following conditions:
BaserK 5:5df174756f84 10 *
BaserK 5:5df174756f84 11 * The above copyright notice and this permission notice shall be included in
BaserK 5:5df174756f84 12 * all copies or substantial portions of the Software.
BaserK 5:5df174756f84 13 *
BaserK 5:5df174756f84 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
BaserK 5:5df174756f84 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
BaserK 5:5df174756f84 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
BaserK 5:5df174756f84 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
BaserK 5:5df174756f84 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
BaserK 5:5df174756f84 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
BaserK 5:5df174756f84 20 * THE SOFTWARE.
BaserK 5:5df174756f84 21 *
BaserK 5:5df174756f84 22 */
BaserK 5:5df174756f84 23
BaserK 0:9df79ea8037e 24 #ifndef BRUSHLESSCONTROLLER_L293D_H
BaserK 0:9df79ea8037e 25 #define BRUSHLESSCONTROLLER_L293D_H
BaserK 0:9df79ea8037e 26
BaserK 0:9df79ea8037e 27 #include "mbed.h"
BaserK 0:9df79ea8037e 28
BaserK 1:f7babaac1149 29 /* Function Prototypes */
BaserK 0:9df79ea8037e 30 void brushlessControl(bool dir, int delay_time, int stepNum);
BaserK 1:f7babaac1149 31 void oneStep(bool dir, int delay_time, int* prevStep);
BaserK 0:9df79ea8037e 32
BaserK 0:9df79ea8037e 33 #endif