mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
scripts/examples: Update mqtt examples.
This commit is contained in:
parent
f5c48ffc7f
commit
0f6684a41c
@ -10,7 +10,7 @@
|
|||||||
# 3) Install the mosquitto client on PC and run the following command:
|
# 3) Install the mosquitto client on PC and run the following command:
|
||||||
# mosquitto_sub -h test.mosquitto.org -t "openmv/test" -v
|
# mosquitto_sub -h test.mosquitto.org -t "openmv/test" -v
|
||||||
#
|
#
|
||||||
# NOTE: If the mosquitto broker is unreachable, try another broker (For example: broker.hivemq.com)
|
# NOTE: If the mosquitto broker is unreachable, try another broker (For example: broker.hivemq.com or broker.emqx.io)
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import network
|
import network
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
# 3) Install the mosquitto client on PC and run the following command:
|
# 3) Install the mosquitto client on PC and run the following command:
|
||||||
# mosquitto_pub -t "openmv/test" -m "Hello World!" -h test.mosquitto.org -p 1883
|
# mosquitto_pub -t "openmv/test" -m "Hello World!" -h test.mosquitto.org -p 1883
|
||||||
#
|
#
|
||||||
# NOTE: If the mosquitto broker is unreachable, try another broker (For example: broker.hivemq.com)
|
# NOTE: If the mosquitto broker is unreachable, try another broker (For example: broker.hivemq.com or broker.emqx.io)
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import network
|
import network
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user