File tree 4 files changed +14
-5
lines changed
4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
1
# The MIT License (MIT)
2
- # Copyright (c) 2018 Mike Teachman
2
+ # Copyright (c) 2019 Mike Teachman
3
3
# https://opensource.org/licenses/MIT
4
4
#
5
5
# Example MicroPython and CircuitPython code showing how to use the MQTT protocol with Adafruit IO, to
9
9
# ESP8266
10
10
# MicroPython 1.9.3
11
11
# MicroPython 1.9.4
12
+ # MicroPython 1.10
12
13
# CircuitPython 2.3.1 (needs addition of CircuitPython specific umqtt module)
13
14
# CircuitPython 3.0.0 (needs addition of CircuitPython specific umqtt module)
14
15
# ESP32
15
16
# MicroPython 1.9.4 (needs addition of MicroPython umqtt module)
17
+ # MicroPython 1.10
16
18
#
17
19
# Tested using the following boards:
18
20
# Adafruit Feather HUZZAH ESP8266
Original file line number Diff line number Diff line change 1
1
# The MIT License (MIT)
2
- # Copyright (c) 2018 Mike Teachman
2
+ # Copyright (c) 2019 Mike Teachman
3
3
# https://opensource.org/licenses/MIT
4
4
#
5
5
# Example MicroPython and CircuitPython code showing how to use the MQTT protocol to
9
9
# ESP8266
10
10
# MicroPython 1.9.3
11
11
# MicroPython 1.9.4
12
+ # MicroPython 1.10
12
13
# CircuitPython 2.3.1 (needs addition of CircuitPython specific umqtt module)
13
14
# CircuitPython 3.0.0 (needs addition of CircuitPython specific umqtt module)
14
15
# ESP32
15
16
# MicroPython 1.9.4 (needs addition of MicroPython umqtt module)
17
+ # MicroPython 1.10
16
18
#
17
19
# Tested using the following boards:
18
20
# Adafruit Feather HUZZAH ESP8266
Original file line number Diff line number Diff line change @@ -79,14 +79,15 @@ client.wait_msg(). The debug print output shows the subscription receiving the
79
79
### Tested with these MicroPython Releases
80
80
* MicroPython 1.9.3
81
81
* MicroPython 1.9.4
82
+ * MicroPython 1.10
82
83
83
84
### Tested with these CircuitPython Releases
84
85
* CircuitPython 2.3.1
85
86
* CircuitPython 3.0.0
86
87
87
88
### Recommended Tools for Windows
88
89
* Adafruit Ampy to copy files to the filesystem
89
- * install version 1.0.3 which has the -d option (use ** -d1** to avoid USB connection issues in Windows)
90
+ * install version 1.0.3 or newer which has the -d option (use ** -d1** to avoid USB connection issues in Windows)
90
91
* Putty to interact with the REPL
91
92
* set Serial speed to 115200 and Flow control to None
92
93
@@ -97,7 +98,9 @@ The example code requires the MicroPython MQTT (UMQTT) Package. Some firmware r
97
98
| ------------- | :-------------:| :-----:|
98
99
| MicroPython 1.9.3 for ESP8266 | Yes | n/a |
99
100
| MicroPython 1.9.4 for ESP8266 | Yes | n/a |
101
+ | MicroPython 1.10 for ESP8266 | Yes | n/a |
100
102
| MicroPython 1.9.4 for ESP32 | ** No** | [ Micropython lib] ( https://github.com/micropython/micropython-lib ) |
103
+ | MicroPython 1.10 for ESP32 | Yes | n/a |
101
104
| CircuitPython 2.3.1 for ESP8266 | ** No** | [ CircuitPython lib] ( https://github.com/MikeTeachman/micropython-lib ) |
102
105
| CircuitPython 3.0.0 for ESP8266 | ** No** | [ CircuitPython lib] ( https://github.com/MikeTeachman/micropython-lib ) |
103
106
Original file line number Diff line number Diff line change 1
1
# The MIT License (MIT)
2
- # Copyright (c) 2018 Mike Teachman
2
+ # Copyright (c) 2019 Mike Teachman
3
3
# https://opensource.org/licenses/MIT
4
4
#
5
5
# Example MicroPython and CircuitPython code showing how to use the MQTT protocol to
9
9
# ESP8266
10
10
# MicroPython 1.9.3
11
11
# MicroPython 1.9.4
12
+ # MicroPython 1.10
12
13
# CircuitPython 2.3.1 (needs addition of CircuitPython specific umqtt module)
13
14
# CircuitPython 3.0.0 (needs addition of CircuitPython specific umqtt module)
14
15
# ESP32
15
16
# MicroPython 1.9.4 (needs addition of MicroPython umqtt module)
17
+ # MicroPython 1.10
16
18
#
17
19
# Tested using the following boards:
18
20
# Adafruit Feather HUZZAH ESP8266
@@ -68,7 +70,7 @@ def cb(topic, msg):
68
70
# set MQTTClient initializer parameter to "ssl=True"
69
71
# Caveat: a secure connection uses about 9k bytes of the heap
70
72
# (about 1/4 of the micropython heap on the ESP8266 platform)
71
- ADAFRUIT_IO_URL = b'io.adafruit.com'
73
+ ADAFRUIT_IO_URL = b'io.adafruit.com'
72
74
ADAFRUIT_USERNAME = b'<ENTER_ADAFRUIT_USERNAME>'
73
75
ADAFRUIT_IO_KEY = b'<ENTER_ADAFRUIT_IO_KEY>'
74
76
ADAFRUIT_IO_FEEDNAME = b'freeHeap'
You can’t perform that action at this time.
0 commit comments