Need help with C++ in mbed compiler

Thread Starter

ep.hobbyiest

Joined Aug 26, 2014
201
Hi,
I m using mbed compiler first time.
Following function making me confused.

freetronicsLCDShield::freetronicsLCDShield (PinName rs, PinName e, PinName d0, PinName d1, PinName d2, PinName d3, PinName bl, PinName a0)
: _rs(rs), _e(e), _d(d0, d1, d2, d3), _bl(bl), _a0(a0) {

This function is constructor but following line makes me more confuse.
: _rs(rs), _e(e), _d(d0, d1, d2, d3), _bl(bl), _a0(a0) {


can you please tell me what does it mean?
 

dannyf

Joined Sep 13, 2015
2,197
It is important for you to understand that no one is obligated to answer your question, and to the extent someone does, you should be grateful.

You will benefit a lot if you do develop that understanding, hopefully soon.
 

vpoko

Joined Jan 5, 2012
267
It is important for you to understand that no one is obligated to answer your question, and to the extent someone does, you should be grateful.

You will benefit a lot if you do develop that understanding, hopefully soon.
Aww, one bump is generally considered polite in most places, and it's not like the OP demanded an answer.

Sorry OP, wish I knew, but no idea.
 
Top