Button: Removed grove dependency

* Renamed all files from groverrotary to rotary
    * Replaced all instances of groverrotary with rotary
    * Updated all CMake files

Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
This commit is contained in:
Sisinty Sasmita Patra
2016-09-13 12:06:37 -07:00
committed by Noel Eck
parent 6a6a572069
commit 3753a1be5c
20 changed files with 84 additions and 42 deletions

View File

@ -91,7 +91,7 @@ add_example (led)
add_example (relay)
add_example (light)
add_example (temperature)
add_example (grovebutton)
add_example (button)
add_example (rotary)
add_example (slide)
add_example (buzzer-sound)

View File

@ -33,7 +33,7 @@ main(int argc, char **argv)
//! [Interesting]
// Create the button object using GPIO pin 0
upm::GroveButton* button = new upm::GroveButton(0);
upm::Button* button = new upm::Button(0);
// Read the input and print, waiting one second between readings
while( 1 ) {