Where do 'On()', 'FastOn()' &, 'Off()' "live"?

I tried to find them on Github master, I was expecting to see some void On(), ... (with capital ‘O’) but I only found bool on() (with lowercase ‘o’).

Thank you for any help, cheers

They all live in prop_base.h:

On():

Off():

FastOn():

Github has pretty reasonable search function btw…

Thank you @profezzorn,

No wonder I couldn’t find them, I was searching for On(),Off(),FastOn() just like sa22c has it in his prop.

So can I use On(),Off() & FastOn() like sa22c does for my jetpack_prop.h, or must I add arguments between the parenthesis ?

The location has a default value specified, so if you call it without an argument, it uses that default.

1 Like