Skip to content

EEMEM causes an error in Platform IO #8

Description

@eatonJ

Error is on the "Settings setting EEMEM; " line "Expecting ";" instead of EEMEM
//Declare eeprom variables.
struct Settings{
uint8_e deviceNo;
float_e longitude;
float_e latitude;
uint8_e timezone;
uint16_e doorOpenValue; // 1023 external limit sensor, 1 = Read limit switch pin
uint16_e doorClosedValue; // Zero external limit sensor, 1 = Read limit switch pin
uint16_e closeDelay; // Minutes
uint16_e openDelay; // Minutes
uint16_e cycleTime; // Zero = No shelf/door installed
float_e rechargeTarget;
float_e rechargeMin;
float_e rechargeMax;
uint8_e motorRunMax;
uint16_e pressureTarget;
uint16_e pressureMin;
uint16_e pressureMax;
};
Settings setting EEMEM;
//EEMEM tells the compiler that the object resides in the EEPROM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions