GithubHelp home page GithubHelp logo

1602a-androidthings's People

Contributors

nilhcem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

1602a-androidthings's Issues

BCM21 driver failure

Hi @Nilhcem 🤓
I have tried to run this sample on my LCD - have managed to plug everything in. I am getting an exception when trying to run it though and I was wondering if you might be able to help.

I've double checked the circuit setup - also changed the devpreview to version 2 in app build.gradle. Do you maybe have an idea what I'm doing wrong? Have you been able to use the LCD on version 2?
Thanks!

com.nilhcem.androidthings.driver.lcd1602a E/SampleActivity: Error initializing LCD
                                                                                           com.google.android.things.pio.PioException: android.os.ServiceSpecificException: BCM21 driver failure
                                                                                               at com.google.android.things.pio.GpioImpl.setDirection(GpioImpl.java:64)
                                                                                               at com.nilhcem.androidthings.driver.lcd1602a.Lcd1602.<init>(Lcd1602.java:119)
                                                                                               at com.nilhcem.androidthings.driver.lcd1602a.Lcd1602.<init>(Lcd1602.java:77)
                                                                                               at com.nilhcem.androidthings.driver.lcd1602a.SampleActivity.onCreate(SampleActivity.java:27)
                                                                                               at android.app.Activity.performCreate(Activity.java:6662)
                                                                                               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
                                                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
                                                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
                                                                                               at android.app.ActivityThread.-wrap12(ActivityThread.java)
                                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
                                                                                               at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                               at android.os.Looper.loop(Looper.java:154)
                                                                                               at android.app.ActivityThread.main(ActivityThread.java:6077)
                                                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
                                                                                            Caused by: android.os.ServiceSpecificException: BCM21 driver failure
                                                                                               at android.os.Parcel.readException(Parcel.java:1697)
                                                                                               at android.os.Parcel.readException(Parcel.java:1636)
                                                                                               at com.google.android.things.pio.IPeripheralManagerClient$Stub$Proxy.SetGpioDirection(IPeripheralManagerClient.java:969)
                                                                                               at com.google.android.things.pio.GpioImpl.setDirection(GpioImpl.java:62)
                                                                                               at com.nilhcem.androidthings.driver.lcd1602a.Lcd1602.<init>(Lcd1602.java:119) 
                                                                                               at com.nilhcem.androidthings.driver.lcd1602a.Lcd1602.<init>(Lcd1602.java:77) 
                                                                                               at com.nilhcem.androidthings.driver.lcd1602a.SampleActivity.onCreate(SampleActivity.java:27) 
                                                                                               at android.app.Activity.performCreate(Activity.java:6662) 
                                                                                               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) 
                                                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599) 
                                                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707) 
                                                                                               at android.app.ActivityThread.-wrap12(ActivityThread.java) 
                                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460) 
                                                                                               at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                               at android.os.Looper.loop(Looper.java:154) 
                                                                                               at android.app.ActivityThread.main(ActivityThread.java:6077) 
                                                                                               at java.lang.reflect.Method.invoke(Native Method) 
                                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) 
                                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) 

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.