Arduino online Graph with Highcharts JS - old code make it impossible to compile

Hello!

I found just the right project for what I want to do in my home automation system, problem is, this old code give error messages when trying to compile under ide 1.8.11, win10.

I want to compile to mega 2560, using a W5100 ethernet shield. I`m quite new to this and it would be great with help from you experts. Several people have struggled with this for years, but no one seem update the code.

I have downloaded the newest files from the project at github, but compile error still exsist.

Maybe some of you experts can help a arduino beginer like me? :slight_smile:

Projec article: https://www.instructables.com/id/Online-Graphs-Using-Nothing-but-an-Arduino-Etherne/
Github: GitHub - evjrob/super-graphing-data-logger: An arduino sketch for my old super graphing data logger project.

Some of the errors:

SuperGraphingDataLogger:108:7: error: 'prog_char' does not name a type; did you mean 'putchar'?
const prog_char Header404_0[] PROGMEM = "HTTP/1.1 404 Not Found"; //
and
SuperGraphingDataLogger:115:3: error: 'Header404_0' was not declared in this scope

  • Header404_0,*
    and

SuperGraphingDataLogger:266:22: error: 'day' was not declared in this scope

  • int dayInt = day(rawTime);*

Change "prog_char" to "char" should let it compile correctly.