2019年4月10日 星期三

第一個程式Hello World

<JavaScript> 第一個程式Hello World

<!DOCTYPE HTML>
<html>
<body>

<p>Before the script...</p>

<p id="demo1-1"></p>
<script>
  var text="'Hello, world!......";
    alert( 'Hello, world!' );
    document.getElementById("demo1-1").innerHTML = text;
</script>

<p>...After the script.</p>
</body>
</html>

輸出畫面
Before the script...
'Hello, world!......
...After the script.

執行狀況


沒有留言:

張貼留言

ESP32 微控制器 採集的環境數據,經由 MQTT 協定 轉換並寫入工業標準的 Modbus 暫存器 中

  一個典型的 IoT(物聯網)與工業自動化系統整合(SCADA/機台連線) 的架構圖。它透過 Node-RED 作為核心資料網關,將前端 ESP32 微控制器 採集的環境數據,經由 MQTT 協定 轉換並寫入工業標準的 Modbus 暫存器 中。 1. 各模組功能拆解...