mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
adafruitss: renamed to adafruit pca9685 servo shield
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -100,7 +100,7 @@ add_executable (at42qt1070-example at42qt1070.cxx)
|
||||
add_executable (grovemd-example grovemd.cxx)
|
||||
add_executable (pca9685-example pca9685.cxx)
|
||||
add_executable (groveeldriver-example groveeldriver.cxx)
|
||||
add_executable (pca9685ss-example pca9685ss.cxx)
|
||||
add_executable (adafruitss-example adafruitss.cxx)
|
||||
|
||||
include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
|
||||
include_directories (${PROJECT_SOURCE_DIR}/src/grove)
|
||||
@ -182,6 +182,7 @@ include_directories (${PROJECT_SOURCE_DIR}/src/at42qt1070)
|
||||
include_directories (${PROJECT_SOURCE_DIR}/src/grovemd)
|
||||
include_directories (${PROJECT_SOURCE_DIR}/src/pca9685)
|
||||
include_directories (${PROJECT_SOURCE_DIR}/src/groveeldriver)
|
||||
include_directories (${PROJECT_SOURCE_DIR}/src/adafruitss)
|
||||
|
||||
target_link_libraries (hmc5883l-example hmc5883l ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (groveled-example grove ${CMAKE_THREAD_LIBS_INIT})
|
||||
@ -283,4 +284,4 @@ target_link_libraries (at42qt1070-example at42qt1070 ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (grovemd-example grovemd ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (pca9685-example pca9685 ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (groveeldriver-example groveeldriver ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (pca9685ss-example pca9685 ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries (adafruitss-example adafruitss ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include "pca9685ss.h"
|
||||
#include "adafruitss.h"
|
||||
#include <unistd.h>
|
||||
|
||||
using namespace std;
|
||||
@ -43,7 +43,7 @@ int main() {
|
||||
int n;
|
||||
|
||||
//! [Interesting]
|
||||
upm::pca9685ss* servos = new upm::pca9685ss(6,0x40);
|
||||
upm::adafruitss* servos = new upm::adafruitss(6,0x40);
|
||||
|
||||
for (;;)
|
||||
{
|
Reference in New Issue
Block a user