Giter Site home page Giter Site logo

hexiwear-handwash's Introduction

Hexiwear hand wash

Repository for the Hexiwear hand wash project.

Get Started

This project is based on mbed OS 6, to use it you need the mbed cli 2 compiler toolchain. Follow this instructions to install it.

Mbed CLI needs Git to download the dependencies, so you’ll also need to install it. This project uses by default the GCC_ARM compiler, so you need to install it too.

To compile and flash the program run this command

$ mbed-tools compile -t GCC_ARM -m HEXIWEAR -f

To build C/C++ code for the ARM processor using the GCC_ARM compile you need the gcc-arm-embedded toolchain. Install it on macos with homebrew:

$ brew install --cask gcc-arm-embedded

Program the KW40Z

Tho have access to the Bluetooth Low Energy and the buttons of the Hexiwear you need to flash the KW40Z binary file downloadable here. After you have downloaded the .bin file set the switch in the docking station to 00111111 and copy the file to the mounted device to flash it.

Read Hexiwear output

The program can print some logs to his standard output, to read those you need to establish a serial connection to the device.

The default method is using the mbed cli 2 by appending -s/--stream to the end of the mbed-tools compile command.

Another method is using an external program, the suggested one is picocom

$ picocom --imap lfcrlf /dev/serial/device

hexiwear-handwash's People

Contributors

supercaly avatar

Watchers

 avatar

hexiwear-handwash's Issues

Export data in a new thread

In data_exporter spawn a new thread to do the exporting and make it thread-safe to ensure multiple calls don't go through at the same time

Draw menu triangle dynamically depending on the menu

The menu items have two triangles pointing to the buttons for moving up/down to other siblings' elements. Draw those triangles separately from the element and depending on the element position, so if it's the first the top triangle will not be drawn and if it's the last the bottom will be left out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.