Seat Matrix Code back and seat

Dependencies:   SoftPWM

Fork of Matrix_Test_3 by Ben Walker

Committer:
bwalker001
Date:
Mon Mar 12 00:01:08 2018 +0000
Revision:
1:334ae7ccb918
Parent:
0:a4b52dc3fb96
Working, serial output (back1234,seat123456789)

Who changed what in which revision?

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