Onewire Library

Ok, I am going to ask the biggest bonehead question of the year for you programmers out there. I have not programmed in years, and am not very familiar with OOP.

I am looking at the some Onewire examples, and they all start with:

OneWire ds(3); // Connect your 1-wire device to pin 3

The only header file included is onewire.h

Where does the ds command come from... wait it just hit me, rust falling out of gears...

This like creates an object of Class Onewire named ds. \o/

Please tell me if I am right.

rthornton:
Ok, I am going to ask the biggest bonehead question of the year for you programmers out there. I have not programmed in years, and am not very familiar with OOP.

I am looking at the some Onewire examples, and they all start with:

OneWire ds(3); // Connect your 1-wire device to pin 3

The only header file included is onewire.h

Where does the ds command come from... wait it just hit me, rust falling out of gears...

This like creates an object of Class Onewire named ds. \o/

Please tell me if I am right.

Yep, you answered your own question:-
ds is the name that you give to the Onewire object.