Skip to content

Commit 390212f

Browse files
committed
Fix errors in last commit
1 parent c72bc1e commit 390212f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/OneOfEverything/OneOfEverything.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ DcsBios::InvertedPotentiometer invertedPotentiometerExample("MSG_0", 1);
5353
DcsBios::Dimmer defaultDimmerExample(0x1012, 5);
5454
DcsBios::LED masterCaution(0x1012, 0x0800, 13);
5555
// An analog output with a value that comes from a DCS address
56-
DcsBios::Dimmer(0x1012, 13);
56+
DcsBios::Dimmer dimmerExample(0x1012, 13);
5757
DcsBios::Dimmer invertedDimmerExample(0x1012, 5, 200,0);
5858
unsigned int myValueMapper(unsigned int dcsValue)
5959
{
6060
return dcsValue % 10;
6161
}
6262
DcsBios::Dimmer mappedDimmerExample(0x1012, 5, myValueMapper);
6363
// A servo motor controlleed from DCS, i.e. a guage.
64-
DcsBios::ServoOutput(0x1012, 13, 544, 2400);
64+
DcsBios::ServoOutput servoExample(0x1012, 13, 544, 2400);
6565

6666
void setup() {
6767
DcsBios::setup();

0 commit comments

Comments
 (0)