Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Force received byte to be formatted as decimal

  • Loading branch information...
commit ee09c3bd732785b90211ba19350a8b65dc0ac04e 1 parent 59bde31
@dnet authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  hack2o.pde
View
2  hack2o.pde
@@ -101,7 +101,7 @@ void flow() {
void loop() {
if (letgo) {
Serial.print("Received request CMD = ");
- Serial.println(i2cmd);
+ Serial.println(i2cmd, DEC);
Wire.send(i2cmd);
if (i2cmd != 0) flow();
letgo = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.