mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 10:21:19 +03:00
grove: remove deprecated classes and examples
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -23,11 +23,11 @@ from __future__ import print_function
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
import time
|
||||
from upm import pyupm_grove as grove
|
||||
from upm import pyupm_relay as upmrelay
|
||||
|
||||
def main():
|
||||
# Create the relay switch object using GPIO pin 0
|
||||
relay = grove.Relay(0)
|
||||
relay = upmrelay.Relay(0)
|
||||
|
||||
# Close and then open the relay switch 3 times,
|
||||
# waiting one second each time. The LED on the relay switch
|
||||
|
Reference in New Issue
Block a user