namespace

This commit is contained in:
shrkey
2016-10-09 20:52:41 +01:00
parent 836b525fd5
commit 1f2a079b24
2 changed files with 2 additions and 2 deletions

View File

@@ -90,6 +90,6 @@ uint8_t DW640::getMode() {
*/
void DW640::setMode(uint8_t mode) {
this->modePin = new Pin( RPI_GPIO_27 );
this->modePin->setMode(Pin::GpioModeOutput);
this->modePin->setMode(this->modePin->GpioModeOutput);
this->modePin->write( mode );
}

View File

@@ -21,7 +21,7 @@ make
#include "darkwater/PCA9685.h"
#include "darkwater/Util.h"
using namespace Navio;
using namespace DarkWater;
int main()
{