4 int wiringPiSetupSys(
void) {
5 std::cout <<
"WiringPi Setup." << std::endl;
9 int wiringPiSetupGpio(
void) {
10 std::cout <<
"WiringPi Setup." << std::endl;
14 int wiringPiSetup(
void) {
15 std::cout <<
"WiringPi Setup." << std::endl;
19 void pinMode(
int pin,
int mode) {
20 std::cout <<
"Set pin mode: pin " << pin <<
" to mode: " << mode << std::endl;
23 void digitalWrite(
int pin,
int value) {
24 std::cout <<
"Digital wrote pin " << pin <<
" " << value << std::endl;
27 void pullUpDnControl(
int pin,
int pud) {
28 std::cout <<
"Changed pullup on pin " << pin <<
" " << pud << std::endl;
31 int digitalRead(
int pin) {
35 void pwmWrite(
int pin,
int value) {
36 std::cout <<
"PWM wrote pin " << pin <<
" " << value << std::endl;
40 void digitalWriteByte(
int value) {
44 unsigned int millis(
void) {
45 return (
unsigned int) (time(0) * 1000);
48 void delay(
unsigned int howLong) {
49 std::cout <<
"Delaying " << howLong <<
" ms" << std::endl;
52 void delayMicroseconds(
unsigned int howLong) {
53 std::cout <<
"Delaying " << howLong <<
" us" << std::endl;