mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +03:00
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:

committed by
Noel Eck

parent
6a6a572069
commit
3753a1be5c
@ -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)
|
||||
|
@ -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 ) {
|
Reference in New Issue
Block a user