uncrustify libraries/AP_AnalogSource/examples/AnalogSource_Arduino/AnalogSource_Arduino.pde

This commit is contained in:
uncrustify 2012-08-16 23:08:47 -07:00 committed by Pat Hickey
parent 89dad7de7b
commit 5e7867f972
1 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
/*
Example of AnalogSource Arduino
*/
* Example of AnalogSource Arduino
*/
#include <FastSerial.h>
#include <AP_Math.h>
@ -30,12 +30,12 @@ void setup()
void loop()
{
while (true) {
delay(1000);
Serial.printf("Vcc: %u PIN0: %u PIN1: %u PIN1_avg: %u\n",
(unsigned)vcc_source.read_vcc(),
(unsigned)pin0.read_raw(),
(unsigned)pin1.read_raw(),
(unsigned)pin1.read_average());
}
while (true) {
delay(1000);
Serial.printf("Vcc: %u PIN0: %u PIN1: %u PIN1_avg: %u\n",
(unsigned)vcc_source.read_vcc(),
(unsigned)pin0.read_raw(),
(unsigned)pin1.read_raw(),
(unsigned)pin1.read_average());
}
}