Skip to content

Commit

Permalink
brillo-samples/driver/mma7660fc: add schematics and README
Browse files Browse the repository at this point in the history
Bug: 32410763
Change-Id: Ifa96fb17c692d9ead9640098bc540cad6a969908
  • Loading branch information
proppy committed Nov 29, 2016
1 parent a035bf1 commit aee5d75
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions mma7660fc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Accelerometer sample for Android Things
============================================

This Android Things sample demonstrates how to use a Grove Accelerometer MMA7660FC sensor.

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

- Android Things compatible board
- Android Studio 2.2+
- 1 [Grove Accelerometer MMA7660FC](http://wiki.seeed.cc/Grove-3-Axis_Digital_Accelerometer-1.5g/)
- 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/.AccelerometerDemo
```

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


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 mma7660fc/edison_schematics.fzz
Binary file not shown.
Binary file added mma7660fc/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 mma7660fc/rpi3_schematics.fzz
Binary file not shown.
Binary file added mma7660fc/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 aee5d75

Please sign in to comment.