Maxsonar Test: remove raw from output to user

This commit is contained in:
Randy Mackay 2014-02-10 15:00:08 +09:00
parent e1fabadd3c
commit 4c38999ca6

View File

@ -69,14 +69,8 @@ void setup()
void loop() void loop()
{ {
hal.console->print("dist:"); hal.console->printf("dist: %d\n",(int)rf->read());
hal.console->print(rf->read());
hal.console->print("\traw:");
hal.console->print(rf->raw_value);
hal.console->println();
hal.scheduler->delay(100); hal.scheduler->delay(100);
} }
AP_HAL_MAIN(); AP_HAL_MAIN();