Skip to content

Commit

Permalink
Merge "brillo-samples/driver/tm1637: add README and schematics"
Browse files Browse the repository at this point in the history
  • Loading branch information
proppy authored and Gerrit Code Review committed Nov 30, 2016
2 parents fab772d + 08e7569 commit 80aece1
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions tm1637/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Grove 4-Digit Segment Display sample for Android Things
=======================================================

This Android Things sample demonstrates how to use a Grove 4-Digit Segment Display based on the TM1637 IC.

Pre-requisites
--------------

- Android Things compatible board
- Android Studio 2.2+
- 1 [Grove 4-Digit Segment display](http://wiki.seeed.cc/Grove-4-Digit_Display/)
- jumper wires
- 1 breadboard


Schematics
----------

![Schematics for Intel Edison](edison_schematics.png)
![Schematics for Raspberry Pi 3](rpi3_schematics.png)


Build and install
=================

On Android Studio, click on the "Run" button.

If you prefer to run on the command line, type

```bash
./gradlew installDebug
adb shell am start com.example.androidthings.driversamples/.SegmentDisplayActivity
```

If you have everything set up correctly, the segment display will show "2342".

License
-------

Copyright 2016 The Android Open Source Project, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
Binary file added tm1637/edison_schematics.fzz
Binary file not shown.
Binary file added tm1637/edison_schematics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tm1637/rpi3_schematics.fzz
Binary file not shown.
Binary file added tm1637/rpi3_schematics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80aece1

Please sign in to comment.