Sleep Monitoring system using Hexiwear Accelerometer and Python for finding distributiion about mean data.

Dependencies:   FXOS8700

Committer:
nikhilchougule
Date:
Tue Mar 20 13:12:47 2018 +0000
Revision:
0:7b877196b84a
SleepMonitoringSystem

Who changed what in which revision?

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