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.
Dependents: gimbalController_brushless_IMU
Fork of brushlessController_TB6612FNG by
brushlessController_TB6612FNG.h@2:32d402d0ee1e, 2015-07-21 (annotated)
- Committer:
- BaserK
- Date:
- Tue Jul 21 08:01:16 2015 +0000
- Revision:
- 2:32d402d0ee1e
- Parent:
- 0:fcf00057b1a3
MIT license is added
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| BaserK | 2:32d402d0ee1e | 1 | /* |
| BaserK | 2:32d402d0ee1e | 2 | * Copyright (c) 2015, Baser Kandehir, baser.kandehir@ieee.metu.edu.tr |
| BaserK | 2:32d402d0ee1e | 3 | * |
| BaserK | 2:32d402d0ee1e | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| BaserK | 2:32d402d0ee1e | 5 | * of this software and associated documentation files (the "Software"), to deal |
| BaserK | 2:32d402d0ee1e | 6 | * in the Software without restriction, including without limitation the rights |
| BaserK | 2:32d402d0ee1e | 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| BaserK | 2:32d402d0ee1e | 8 | * copies of the Software, and to permit persons to whom the Software is |
| BaserK | 2:32d402d0ee1e | 9 | * furnished to do so, subject to the following conditions: |
| BaserK | 2:32d402d0ee1e | 10 | * |
| BaserK | 2:32d402d0ee1e | 11 | * The above copyright notice and this permission notice shall be included in |
| BaserK | 2:32d402d0ee1e | 12 | * all copies or substantial portions of the Software. |
| BaserK | 2:32d402d0ee1e | 13 | * |
| BaserK | 2:32d402d0ee1e | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| BaserK | 2:32d402d0ee1e | 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| BaserK | 2:32d402d0ee1e | 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| BaserK | 2:32d402d0ee1e | 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| BaserK | 2:32d402d0ee1e | 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| BaserK | 2:32d402d0ee1e | 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| BaserK | 2:32d402d0ee1e | 20 | * THE SOFTWARE. |
| BaserK | 2:32d402d0ee1e | 21 | * |
| BaserK | 2:32d402d0ee1e | 22 | */ |
| BaserK | 2:32d402d0ee1e | 23 | |
| BaserK | 0:fcf00057b1a3 | 24 | #ifndef BRUSHLESSCONTROLLER_TB6612FNG_H |
| BaserK | 0:fcf00057b1a3 | 25 | #define BRUSHLESSCONTROLLER_TB6612FNG_H |
| BaserK | 0:fcf00057b1a3 | 26 | |
| BaserK | 0:fcf00057b1a3 | 27 | #include "mbed.h" |
| BaserK | 0:fcf00057b1a3 | 28 | |
| BaserK | 0:fcf00057b1a3 | 29 | /* Function Prototypes */ |
| BaserK | 0:fcf00057b1a3 | 30 | void brushlessControl(bool dir, int delay_time); |
| BaserK | 0:fcf00057b1a3 | 31 | |
| BaserK | 0:fcf00057b1a3 | 32 | #endif |
