Version 8, working version with Alix, sams and ollies code. Displays time, date and sensor info onto terminal, LCD and networking, and saves onto SD card.

Dependencies:   BMP280 ELEC350-Practicals-FZ429 TextLCD BME280 ntp-client

Committer:
Alix955
Date:
Mon Dec 31 19:20:22 2018 +0000
Revision:
12:4c7eaac8ceef
Parent:
0:f9a18207d99c
Version 8, integration of Alix & Sams work with older(?) version of ollies. Displays time, date and all sensor information onto LCD, Terminal and Networking, and saves sensor info to SD card.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
O_Thom 0:f9a18207d99c 1 # Getting started with Blinky on mbed OS
O_Thom 0:f9a18207d99c 2
O_Thom 0:f9a18207d99c 3 This guide reviews the steps required to get Blinky working on an mbed OS platform.
O_Thom 0:f9a18207d99c 4
O_Thom 0:f9a18207d99c 5 Please install [mbed CLI](https://github.com/ARMmbed/mbed-cli#installing-mbed-cli).
O_Thom 0:f9a18207d99c 6
O_Thom 0:f9a18207d99c 7 ## Import the example application
O_Thom 0:f9a18207d99c 8
O_Thom 0:f9a18207d99c 9 From the command-line, import the example:
O_Thom 0:f9a18207d99c 10
O_Thom 0:f9a18207d99c 11 ```
O_Thom 0:f9a18207d99c 12 mbed import mbed-os-example-blinky
O_Thom 0:f9a18207d99c 13 cd mbed-os-example-blinky
O_Thom 0:f9a18207d99c 14 ```
O_Thom 0:f9a18207d99c 15
O_Thom 0:f9a18207d99c 16 ### Now compile
O_Thom 0:f9a18207d99c 17
O_Thom 0:f9a18207d99c 18 Invoke `mbed compile`, and specify the name of your platform and your favorite toolchain (`GCC_ARM`, `ARM`, `IAR`). For example, for the ARM Compiler 5:
O_Thom 0:f9a18207d99c 19
O_Thom 0:f9a18207d99c 20 ```
O_Thom 0:f9a18207d99c 21 mbed compile -m K64F -t ARM
O_Thom 0:f9a18207d99c 22 ```
O_Thom 0:f9a18207d99c 23
O_Thom 0:f9a18207d99c 24 Your PC may take a few minutes to compile your code. At the end, you see the following result:
O_Thom 0:f9a18207d99c 25
O_Thom 0:f9a18207d99c 26 ```
O_Thom 0:f9a18207d99c 27 [snip]
O_Thom 0:f9a18207d99c 28 +----------------------------+-------+-------+------+
O_Thom 0:f9a18207d99c 29 | Module | .text | .data | .bss |
O_Thom 0:f9a18207d99c 30 +----------------------------+-------+-------+------+
O_Thom 0:f9a18207d99c 31 | Misc | 13939 | 24 | 1372 |
O_Thom 0:f9a18207d99c 32 | core/hal | 16993 | 96 | 296 |
O_Thom 0:f9a18207d99c 33 | core/rtos | 7384 | 92 | 4204 |
O_Thom 0:f9a18207d99c 34 | features/FEATURE_IPV4 | 80 | 0 | 176 |
O_Thom 0:f9a18207d99c 35 | frameworks/greentea-client | 1830 | 60 | 44 |
O_Thom 0:f9a18207d99c 36 | frameworks/utest | 2392 | 512 | 292 |
O_Thom 0:f9a18207d99c 37 | Subtotals | 42618 | 784 | 6384 |
O_Thom 0:f9a18207d99c 38 +----------------------------+-------+-------+------+
O_Thom 0:f9a18207d99c 39 Allocated Heap: unknown
O_Thom 0:f9a18207d99c 40 Allocated Stack: unknown
O_Thom 0:f9a18207d99c 41 Total Static RAM memory (data + bss): 7168 bytes
O_Thom 0:f9a18207d99c 42 Total RAM memory (data + bss + heap + stack): 7168 bytes
O_Thom 0:f9a18207d99c 43 Total Flash memory (text + data + misc): 43402 bytes
O_Thom 0:f9a18207d99c 44 Image: .\.build\K64F\ARM\mbed-os-example-blinky.bin
O_Thom 0:f9a18207d99c 45 ```
O_Thom 0:f9a18207d99c 46
O_Thom 0:f9a18207d99c 47 ### Program your board
O_Thom 0:f9a18207d99c 48
O_Thom 0:f9a18207d99c 49 1. Connect your mbed device to the computer over USB.
O_Thom 0:f9a18207d99c 50 1. Copy the binary file to the mbed device.
O_Thom 0:f9a18207d99c 51 1. Press the reset button to start the program.
O_Thom 0:f9a18207d99c 52
O_Thom 0:f9a18207d99c 53 The LED on your platform turns on and off.
O_Thom 0:f9a18207d99c 54
O_Thom 0:f9a18207d99c 55 ## Troubleshooting
O_Thom 0:f9a18207d99c 56
O_Thom 0:f9a18207d99c 57 If you have problems, you can review the [documentation](https://os.mbed.com/docs/latest/tutorials/debugging.html) for suggestions on what could be wrong and how to fix it.