Coder Social home page Coder Social logo

rpi4gpio's Introduction

rpi4gpio

This is based on https://github.com/yang-neu/rpi3gpio

This is a complete android treble architecture sample,including:

  1. HIDL, control a LED and switch connected to gpio port.
  2. AIDL-CPP service / client
  3. AIDL-CPP JNI client (Ref: https://github.com/yang-neu/gpio_led_jni)
  4. AIDL java client activity (Ref: https://github.com/yang-neu/gpio_led)
  5. SELinux configuration (Ref: https://github.com/yang-neu/pie-device-rpi3)

This experiment achieved:

  1. Toggle LED by a physical push button.
  2. Count up the button push on the UI screen.
  3. Turn on/off LED by the LED switch on the UI screen.

Some necessary modification
project build/make/
diff --git a/target/product/vndk/28.txt b/target/product/vndk/28.txt
index 712e91c58..7104adb6c 100644
--- a/target/product/vndk/28.txt
+++ b/target/product/vndk/28.txt
@@ -119,6 +119,9 @@ VNDK-core: [email protected]
VNDK-core: [email protected]
VNDK-core: [email protected]
VNDK-core: [email protected]
+VNDK-core: [email protected]
VNDK-core: [email protected]
VNDK-core: [email protected]
VNDK-core: [email protected]

Specially appreciate:

rpi4gpio's People

Contributors

samaelson avatar

Watchers

 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.