Fixed server file erroe

This commit is contained in:
Johannes Wendel
2019-10-09 21:55:07 +02:00
parent 6ab77839bc
commit cd10f6ce52
3 changed files with 20 additions and 12 deletions

View File

@@ -12,30 +12,30 @@
static int wiringPiSetup()
{
std::cout << "WiringPiSetup() called" << std::endl;
//std::cout << "WiringPiSetup() called" << std::endl;
return 0;
}
void pinMode(int pin, int mode)
{
std::cout << "Set pin " << pin << " into mode " << mode << std::endl;
//std::cout << "Set pin " << pin << " into mode " << mode << std::endl;
}
int digitalRead(int pin)
{
std::cout << "Reading pin " << pin << std::endl;
//std::cout << "Reading pin " << pin << std::endl;
return 0;
}
void digitalWrite(int pin, int value)
{
std::cout << "Writing pin " << pin << " with value " << value << std::endl;
//std::cout << "Writing pin " << pin << " with value " << value << std::endl;
}
int mcp23017Setup(const int pinBase, const int i2cAddress)
{
std::cout << "mcp23017Setup called with pinBase " << pinBase << " and i2cAddress " << i2cAddress << std::endl;
//std::cout << "mcp23017Setup called with pinBase " << pinBase << " and i2cAddress " << i2cAddress << std::endl;
return 0;
}