namespace
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
Reference in New Issue
Block a user