Error compilation "invalid digit "8" in octal constant"

Hi,

downloaded the last dev version today i an get the next error:

Arduino: 1.6.5 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Extruder.cpp:1333: error: invalid digit "8" in octal constant
     {0,0},{908,8},{941.16,410*8},{982,08,20*8},{1015,8*30},{1048,8*40},{1080,8*50},{1113,8*60},{1146,8*70},{1178,8*80},{11211,8*90},{1276,8*110},{1318,8*120}
                                       ^
invalid digit "8" in octal constant

the complete line:
const short temptable_13[NUMTEMPS_12][2] PROGMEM =
{
    {0,0},{908,8},{941.16,410*8},{982,08,20*8},{1015,8*30},{1048,8*40},{1080,8*50},{1113,8*60},{1146,8*70},{1178,8*80},{11211,8*90},{1276,8*110},{1318,8*120}
    ,{1670,8*230},{2455,8*500},{3445,8*900},{3666,8*1000},{3871,8*1100},{4095,8*2000}
};

the value of temptable_13[4] = {982,08,20*8}
the correct is not something like  {982.08,20*8}?

Comments

  • {
        {0,0},{908,8},{941,410*8},{982,20*8},{1015,8*30},{1048,8*40},{1080,8*50},{1113,8*60},{1146,8*70},{1178,8*80},{11211,8*90},{1276,8*110},{1318,8*120}
        ,{1670,8*230},{2455,8*500},{3445,8*900},{3666,8*1000},{3871,8*1100},{4095,8*2000}
    };

    would be the correct line.
Sign In or Register to comment.