Program to run a nixie clock

Dependencies:   BufferedSerial

Committer:
abestat2
Date:
Fri Apr 20 01:52:39 2018 +0000
Revision:
1:951d0ba43cb1
Parent:
0:b45298b78bbe
Changed Backlight from library to folder

Who changed what in which revision?

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