Underscore?

Status
Not open for further replies.

dispatch

Member
Hello, very new to arduino,

just a quick question

in sample code I noticed an "underscore" got me curious.

Declaring a Joystick object

Joystick_ Joystick();

what, if anything, does this indicate?

Thankyou
 
The underscore is a valid character anywhere in a C/C++ variable name. It doesn't mean anything special in the language (i.e. to the compiler) but can be used to make a variable name easier to read (e.g. count_per_second instead of countpersecond).

Where did you see "Joystick_" ?

Pete
 
Status
Not open for further replies.
Back
Top