return values when its meaningful
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
static int wiringPiSetup()
|
||||
{
|
||||
std::cout << "WiringPiSetup() called" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void pinMode(int pin, int mode)
|
||||
@@ -23,6 +24,7 @@ void pinMode(int pin, int mode)
|
||||
int digitalRead(int pin)
|
||||
{
|
||||
std::cout << "Reading pin " << pin << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void digitalWrite(int pin, int value)
|
||||
@@ -34,6 +36,7 @@ void digitalWrite(int pin, int value)
|
||||
int mcp23017Setup(const int pinBase, const int i2cAddress)
|
||||
{
|
||||
std::cout << "mcp23017Setup called with pinBase " << pinBase << " and i2cAddress " << i2cAddress << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user