Browse Source

debug code

tags/v1.0
Robin Thoni 10 years ago
parent
commit
860961cabe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mainclass.cpp

+ 1
- 1
src/mainclass.cpp View File

92
             return false;
92
             return false;
93
           pifacedigital_write_reg(opt == 'u' ? up_pin(arg) : down_pin(arg),
93
           pifacedigital_write_reg(opt == 'u' ? up_pin(arg) : down_pin(arg),
94
             OUTPUT, get_current_device());
94
             OUTPUT, get_current_device());
95
-          std::cout << get_pins() << std::endl;
95
+          std::cout << std::hex << (int)get_pins() << std::endl;
96
           return true;
96
           return true;
97
           });
97
           });
98
     }
98
     }

Loading…
Cancel
Save