2023-12-02 12:37 PM
Dear All,
I compile a program with cube ide and would like to know how the float variable is const float.
sample is.
float a
const float b
b = a;
BR,
Methee
Solved! Go to Solution.
2023-12-03 09:44 AM
2023-12-03 10:45 AM
And I can't edit or pull code from a screen shot/bitmap.
Make a structure you're configuration items live in.
Create routines to read, write and validate this structure you can place in FLASH or EEPROM
FOO foo = { 0 };
void InitFoo(FOO *foo, EEPROM *eeprom)
{
...
foo->donkeys = 12;
foo->freqHz = eeprom->freqHz;
foo->speedRPM = eeprom->speedRPM;
...
}
2023-12-03 11:09 AM
I will keep trying,
My project needs to set parameters from a keypad.
Ok,Thanks you