mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
EL Driver: Removing Grove Dependency
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@ -179,7 +179,7 @@ add_example (at42qt1070)
|
||||
add_example (grovemd)
|
||||
add_example (grovemd-stepper)
|
||||
add_example (pca9685)
|
||||
add_example (groveeldriver)
|
||||
add_example (eldriver)
|
||||
add_example (adafruitss)
|
||||
add_example (adafruitms1438)
|
||||
add_example (adafruitms1438-stepper)
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include "groveeldriver.hpp"
|
||||
#include "eldriver.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@ -41,9 +41,9 @@ int main(int argc, char **argv)
|
||||
signal(SIGINT, sig_handler);
|
||||
|
||||
//! [Interesting]
|
||||
// The was tested with the Grove El Driver Module
|
||||
// Instantiate a Grove El Driver on digital pin D2
|
||||
upm::GroveElDriver* eldriver = new upm::GroveElDriver(2);
|
||||
// The was tested with the El Driver Module
|
||||
// Instantiate a El Driver on digital pin D2
|
||||
upm::ElDriver* eldriver = new upm::ElDriver(2);
|
||||
|
||||
bool lightState = true;
|
||||
|
Reference in New Issue
Block a user