Example project for TT_M3HQ

Committer:
ThunderSoft
Date:
Fri Apr 26 09:54:08 2019 +0000
Revision:
2:96cb074d073e
Parent:
1:a1f199b1da3c
"Update the mbed-os code to support TT_M4G9"

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ThunderSoft 0:e06a726fb74f 1 /* mbed Microcontroller Library
ThunderSoft 0:e06a726fb74f 2 * Copyright (c) 2018 ARM Limited
ThunderSoft 0:e06a726fb74f 3 * SPDX-License-Identifier: Apache-2.0
ThunderSoft 0:e06a726fb74f 4 */
ThunderSoft 0:e06a726fb74f 5
ThunderSoft 0:e06a726fb74f 6 #include "mbed.h"
ThunderSoft 0:e06a726fb74f 7
ThunderSoft 0:e06a726fb74f 8
ThunderSoft 0:e06a726fb74f 9 DigitalOut led1(LED1);
ThunderSoft 0:e06a726fb74f 10
ThunderSoft 0:e06a726fb74f 11 int main()
ThunderSoft 0:e06a726fb74f 12 {
ThunderSoft 1:a1f199b1da3c 13
ThunderSoft 0:e06a726fb74f 14 while(true)
ThunderSoft 0:e06a726fb74f 15 {
ThunderSoft 0:e06a726fb74f 16 wait_ms(500);
ThunderSoft 0:e06a726fb74f 17 led1 = !led1;
ThunderSoft 0:e06a726fb74f 18 wait_ms(500);
ThunderSoft 0:e06a726fb74f 19 }
ThunderSoft 0:e06a726fb74f 20 }