Functie Inverse Kinematica

Dependencies:   HIDScope MODSERIAL

Committer:
LennartvanHoorne
Date:
Thu Nov 01 08:52:04 2018 +0000
Revision:
9:24c0d83dec3c
Parent:
0:4fc925102d99
nog beter!

Who changed what in which revision?

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