or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
物聯網 Lab4
物聯網目錄:
顯示地圖於 google ver.2
達成目標
基本功能:
額外功能:
notifier
顯示狀況web
模擬兩支手機版面設計
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →大體類似 Lab2,一樣先幫這幾個元件填入初始值
web_send
:Url
填入http://電腦的 IPv4:1880/GPS
web_get
:Url
填入http://電腦的 IPv4:1880/INFO
ActivityStarter1
:Activity
填入android.intent.action.VIEW
程式設計
App inventer 變動不大,
Get
一樣是以,
來分割收到的資訊,同時把變數的使用降低- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Node-RED 部分先拉出以下所示
Data_sub
:設定DATA
如果有新物件,會通知/SUB
/GPS
:接收 App 傳來的位置資訊,加到DATA
中/SUB
:被通知時進行字串處理,最終將obj
部分擷取出來寫檔 (相對路徑為使用者目錄下)/INFO
:AppGet
時,讀檔並字串處理,回傳以,
分隔的位置資訊/SUB
字串處理的部分可以參考物聯網環境建置與測試最後面/INFO
字串處理只需要擷取經緯度如下,App 即可用,
分割實際畫面
先模擬定位至安平古堡

傳送給 Server

從 Server 獲取
