Page 1 of 1

Param, what is it use

Posted: Sat Jan 09, 2016 12:17 pm
by Yaro
Hi all,

I want to ask what is use of Param. I see PARAM_ADD and other macros/functions inside some files, this function or param use it's essential to cf system or it's just for log or read values for debug?

Re: Param, what is it use

Posted: Mon Jan 11, 2016 3:04 pm
by 3zuli
Param is the framework for, you guessed it, reading and setting of parameters inside the firmware. the PARAM_ADD macro is used to specify a variable, which will be available for reading and writing through the framework. See the tutorial: https://www.youtube.com/watch?v=chWrNh73YBw