Manages the 1-wire bus

Dependents:   oldheating heating

web/web-1wire-script.c

Committer:
andrewboyson
Date:
2019-05-01
Revision:
6:e50c61e80f01
Parent:
4:822208cb5a13

File content as of revision 6:e50c61e80f01:

#include "http.h"

//Use http://tomeko.net/online_tools/cpp_text_escape.php   to convert from text to c-multiline
//Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text

static const char* script =
#include "../../web/common/web-ajax-class.inc"
#include "web-1wire-class.inc"
#include "web-1wire-script.inc"
;
const char* WebOneWireScriptDate = __DATE__;
const char* WebOneWireScriptTime = __TIME__;

void WebOneWireScript()
{
    HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebOneWireScriptDate, WebOneWireScriptTime);
    HttpAddText(script);
}