Mastiff
Der satt den! Det var instancen og startingen som manglet, takk! Så må jeg bare finne ut hvordan jeg viser verdien på webserveren. For dette vil helt sikkert bare gi meg ordet busvoltage:
String SendHTML(uint8_t led1stat,uint8_t led2stat){
String ptr = "<!DOCTYPE html> <html>\n";
ptr +="<head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=no\">\n";
ptr +="<title>Starthjelp</title>\n";
ptr +="<style>html { font-family: Helvetica; display: inline-block; margin: 0px auto; text-align: center; charset: utf-8;}\n";
ptr +="body{margin-top: 50px;} h1 {color: #444444;margin: 50px auto 30px;} h3 {color: #444444;margin-bottom: 50px;}\n";
ptr +=".button {display: block;width: 80px;background-color: #e30022db;border: none;color: white;padding: 13px 30px;text-decoration: none;font-size: 25px;margin: 0px auto 35px;cursor: pointer;border-radius: 4px;}\n";
ptr +=".button-on {background-color: #e30022db;}\n";
ptr +=".button-on:active {background-color: #34495e;}\n";
ptr +=".button-off {background-color: #66ff00;}\n";
ptr +=".button-off:active {background-color: #2c3e50;}\n";
ptr +="p {font-size: 14px;color: #888;margin-bottom: 10px;}\n";
ptr +="</style>\n";
ptr +="</head>\n";
ptr +="<body>\n";
ptr +="<h1>Batterispenning</h1>\n";
ptr +="busvoltage\n";
ptr +="<h1>Starthjelp</h1>\n";
ptr +="<h3>Sett hovedbryteren til batteri 2 eller begge, og aktiver releene</h3>\n";