demo project
Dependencies: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
Utils/ControllerIo.h@33:8b9dcbf6d8ec, 2016-02-04 (annotated)
- Committer:
- henryrawas
- Date:
- Thu Feb 04 20:10:33 2016 +0000
- Revision:
- 33:8b9dcbf6d8ec
- Parent:
- 19:2f0ec9ac1238
update libs
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
henryrawas | 19:2f0ec9ac1238 | 1 | // Copyright (c) Microsoft. All rights reserved. |
henryrawas | 19:2f0ec9ac1238 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
henryrawas | 10:9b21566a5ddb | 3 | |
henryrawas | 10:9b21566a5ddb | 4 | #ifndef __CONTROLLERIO_H__ |
henryrawas | 10:9b21566a5ddb | 5 | #define __CONTROLLERIO_H__ |
henryrawas | 10:9b21566a5ddb | 6 | |
henryrawas | 10:9b21566a5ddb | 7 | #include "mbed.h" |
henryrawas | 10:9b21566a5ddb | 8 | |
henryrawas | 13:ffeff9b5e513 | 9 | // LEDs |
henryrawas | 10:9b21566a5ddb | 10 | extern void ShowLedGreen(); |
henryrawas | 10:9b21566a5ddb | 11 | extern void ShowLedRed(); |
henryrawas | 10:9b21566a5ddb | 12 | extern void ShowLedBlue(); |
henryrawas | 10:9b21566a5ddb | 13 | |
henryrawas | 13:ffeff9b5e513 | 14 | // buzzer |
henryrawas | 13:ffeff9b5e513 | 15 | extern void BuzzerStart(); |
henryrawas | 13:ffeff9b5e513 | 16 | extern void BuzzerStop(); |
henryrawas | 13:ffeff9b5e513 | 17 | extern void BuzzerStartMs(int nowMs, int durationMs); |
henryrawas | 13:ffeff9b5e513 | 18 | extern void BuzzerPoll(int nowMs); |
henryrawas | 13:ffeff9b5e513 | 19 | |
henryrawas | 10:9b21566a5ddb | 20 | #endif |