Skip to content

Commit

Permalink
doorbell: fix button pin
Browse files Browse the repository at this point in the history
fix button pin to match other samples
also:
- replace placeholder schematic w/ the one from documentation
- update README w/ components

Bug: 33481649
Bug: 33471070
Change-Id: I85ae557cad40a89dd7669de9a7a69c5fb5502687
  • Loading branch information
proppy committed Dec 10, 2016
1 parent 7f90da4 commit 057f5d9
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 6 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,18 @@ Pre-requisites
- "Google Repository" from the Android SDK Manager
- Google Cloud project with Cloud Vision API enabled
- Firebase database
- The following individual components:
- 1 push button
- 1 resistor
- jumper wires
- 1 breadboard


Schematics
----------

![Schematics](schematics.png)

Setup and Build
===============

Expand Down Expand Up @@ -58,11 +68,6 @@ To run the `companionApp` module on your Android phone:
2. Verify that you see a new annotated picture everytime you push the button


Schematics
----------

![Sample schematics](sample_schematics.png)

License
-------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class DoorbellActivity extends Activity {
/**
* The GPIO pin to activate to listen for button presses.
*/
private final String BUTTON_GPIO_PIN = "BCM22";
private final String BUTTON_GPIO_PIN = "BCM21";


@Override
Expand Down
Binary file removed sample_schematics.png
Binary file not shown.
83 changes: 83 additions & 0 deletions 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 057f5d9

Please # to comment.