brushless motor control library with l293d

Dependents:   brushless_L293D

Committer:
BaserK
Date:
Tue Jul 21 07:57:31 2015 +0000
Revision:
5:5df174756f84
Parent:
1:f7babaac1149
Child:
6:7cab71c38d62
MIT license is added

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 5:5df174756f84 24
BaserK 0:9df79ea8037e 25 #ifndef BRUSHLESSCONTROLLER_L293D_H
BaserK 0:9df79ea8037e 26 #define BRUSHLESSCONTROLLER_L293D_H
BaserK 0:9df79ea8037e 27
BaserK 0:9df79ea8037e 28 #include "mbed.h"
BaserK 0:9df79ea8037e 29
BaserK 1:f7babaac1149 30 /* Function Prototypes */
BaserK 0:9df79ea8037e 31 void brushlessControl(bool dir, int delay_time, int stepNum);
BaserK 1:f7babaac1149 32 void oneStep(bool dir, int delay_time, int* prevStep);
BaserK 0:9df79ea8037e 33
BaserK 0:9df79ea8037e 34 #endif