Giter Site home page Giter Site logo

fxweidinger / cst816s Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tstellanova/cst816s

0.0 0.0 0.0 530 KB

Rust no_std driver for Hynitron CST816S touch sensitive display

License: BSD 3-Clause "New" or "Revised" License

Rust 80.13% GDB 19.87%

cst816s's Introduction

cst816s

A rust no_std driver for the Hynan / Hynitron CST816S touchpad device. This driver was originally developed for the PineTime smart watch.

Status

This is work-in-progress

  • Blocking mode read of available touch events
  • Reading slides and long press gestures
  • Reading click and double-click gestures
  • Interrupt handling of touch events
  • Debug build
  • Release build
  • Debug build of touchpad example runs on PineTime
  • Release build of touchpad example runs on PineTime
  • CI
  • Documentation

Examples

The following example was developed for and tested on the PineTime nrf52-based smart watch.

Note that you will need to clear the nrf52 flash protection before you will be able to program the PineTime.

For installation and debugging you can connect with the PineTime on its SWD debug port using, for example:

When you're ready to install on the PineTime, you can run the example with:

cargo run --example touchpad

Resources

License

BSD-3-Clause, see LICENSE file.

cst816s's People

Contributors

tstellanova avatar fxweidinger avatar rafaelcaricio avatar

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.