Fixed typos in example

This commit is contained in:
mdxs
2014-11-27 13:45:42 +01:00
parent 3b96164ed6
commit 3d6d81defc

View File

@@ -213,7 +213,7 @@ void loop() {
Serial.println(mfrc522.GetStatusCodeName(status)); Serial.println(mfrc522.GetStatusCodeName(status));
return; return;
} }
Serial.print("New value of value of block "); Serial.print(valueBlockA); Serial.print("New value of value block "); Serial.print(valueBlockA);
Serial.print(" = "); Serial.println(value); Serial.print(" = "); Serial.println(value);
// Decrement 10 from the value of valueBlockB and store the result in valueBlockB. // Decrement 10 from the value of valueBlockB and store the result in valueBlockB.
@@ -237,7 +237,7 @@ void loop() {
Serial.println(mfrc522.GetStatusCodeName(status)); Serial.println(mfrc522.GetStatusCodeName(status));
return; return;
} }
Serial.print("New value of value of block "); Serial.print(valueBlockB); Serial.print("New value of value block "); Serial.print(valueBlockB);
Serial.print(" = "); Serial.println(value); Serial.print(" = "); Serial.println(value);
// Check some boundary... // Check some boundary...
if (value <= -100) { if (value <= -100) {