diff --git a/examples/minimqtt_adafruitio_cellular.py b/examples/minimqtt_adafruitio_cellular.py index b6941d9..724f4f0 100755 --- a/examples/minimqtt_adafruitio_cellular.py +++ b/examples/minimqtt_adafruitio_cellular.py @@ -6,7 +6,7 @@ import adafruit_fona.adafruit_fona_network as network import adafruit_fona.adafruit_fona_socket as socket -import adafruit_minimqtt as MQTT +import adafruit_minimqtt.adafruit_minimqtt as MQTT # Get Adafruit IO details and more from a secrets.py file try: diff --git a/examples/minimqtt_adafruitio_eth.py b/examples/minimqtt_adafruitio_eth.py index 53e3b12..9db6cf8 100755 --- a/examples/minimqtt_adafruitio_eth.py +++ b/examples/minimqtt_adafruitio_eth.py @@ -9,7 +9,7 @@ from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K import adafruit_wiznet5k.adafruit_wiznet5k_socket as socket -import adafruit_minimqtt as MQTT +import adafruit_minimqtt.adafruit_minimqtt as MQTT # Get Adafruit IO details and more from a secrets.py file try: diff --git a/examples/minimqtt_adafruitio_wifi.py b/examples/minimqtt_adafruitio_wifi.py index 07871d9..9a22616 100644 --- a/examples/minimqtt_adafruitio_wifi.py +++ b/examples/minimqtt_adafruitio_wifi.py @@ -10,7 +10,7 @@ from adafruit_esp32spi import adafruit_esp32spi_wifimanager import adafruit_esp32spi.adafruit_esp32spi_socket as socket -import adafruit_minimqtt as MQTT +import adafruit_minimqtt.adafruit_minimqtt as MQTT ### WiFi ### diff --git a/examples/minimqtt_certificate.py b/examples/minimqtt_certificate.py index 758fb76..b2155ae 100644 --- a/examples/minimqtt_certificate.py +++ b/examples/minimqtt_certificate.py @@ -6,7 +6,7 @@ from adafruit_esp32spi import adafruit_esp32spi_wifimanager import adafruit_esp32spi.adafruit_esp32spi_socket as socket -import adafruit_minimqtt as MQTT +import adafruit_minimqtt.adafruit_minimqtt as MQTT ### WiFi ### diff --git a/examples/minimqtt_pub_sub_blocking.py b/examples/minimqtt_pub_sub_blocking.py index f088da4..8b1c43e 100644 --- a/examples/minimqtt_pub_sub_blocking.py +++ b/examples/minimqtt_pub_sub_blocking.py @@ -8,7 +8,8 @@ from adafruit_esp32spi import adafruit_esp32spi from adafruit_esp32spi import adafruit_esp32spi_wifimanager import adafruit_esp32spi.adafruit_esp32spi_socket as socket -import adafruit_minimqtt as MQTT + +import adafruit_minimqtt.adafruit_minimqtt as MQTT ### WiFi ### diff --git a/examples/minimqtt_pub_sub_blocking_topic_callbacks.py b/examples/minimqtt_pub_sub_blocking_topic_callbacks.py index 06709f5..8b2ebc3 100644 --- a/examples/minimqtt_pub_sub_blocking_topic_callbacks.py +++ b/examples/minimqtt_pub_sub_blocking_topic_callbacks.py @@ -6,6 +6,7 @@ from adafruit_esp32spi import adafruit_esp32spi from adafruit_esp32spi import adafruit_esp32spi_wifimanager import adafruit_esp32spi.adafruit_esp32spi_socket as socket + import adafruit_minimqtt.adafruit_minimqtt as MQTT ### WiFi ### diff --git a/examples/minimqtt_pub_sub_nonblocking.py b/examples/minimqtt_pub_sub_nonblocking.py index 5c1ce04..6d8d64d 100644 --- a/examples/minimqtt_pub_sub_nonblocking.py +++ b/examples/minimqtt_pub_sub_nonblocking.py @@ -6,7 +6,8 @@ from adafruit_esp32spi import adafruit_esp32spi from adafruit_esp32spi import adafruit_esp32spi_wifimanager import adafruit_esp32spi.adafruit_esp32spi_socket as socket -import adafruit_minimqtt as MQTT + +import adafruit_minimqtt.adafruit_minimqtt as MQTT ### WiFi ### diff --git a/examples/minimqtt_pub_sub_pyportal.py b/examples/minimqtt_pub_sub_pyportal.py index 3fd3bbc..a3f9a60 100644 --- a/examples/minimqtt_pub_sub_pyportal.py +++ b/examples/minimqtt_pub_sub_pyportal.py @@ -1,9 +1,10 @@ import time from adafruit_esp32spi import adafruit_esp32spi_wifimanager import adafruit_esp32spi.adafruit_esp32spi_socket as socket -import adafruit_minimqtt as MQTT import adafruit_pyportal +import adafruit_minimqtt.adafruit_minimqtt as MQTT + pyportal = adafruit_pyportal.PyPortal() ### WiFi ### diff --git a/examples/minimqtt_simpletest.py b/examples/minimqtt_simpletest.py index c07f51a..2c08b99 100644 --- a/examples/minimqtt_simpletest.py +++ b/examples/minimqtt_simpletest.py @@ -6,7 +6,7 @@ from adafruit_esp32spi import adafruit_esp32spi_wifimanager import adafruit_esp32spi.adafruit_esp32spi_socket as socket -import adafruit_minimqtt as MQTT +import adafruit_minimqtt.adafruit_minimqtt as MQTT ### WiFi ### diff --git a/examples/minimqtt_simpletest_cellular.py b/examples/minimqtt_simpletest_cellular.py index bdecd6f..d85bb56 100644 --- a/examples/minimqtt_simpletest_cellular.py +++ b/examples/minimqtt_simpletest_cellular.py @@ -6,7 +6,7 @@ import adafruit_fona.adafruit_fona_network as network import adafruit_fona.adafruit_fona_socket as socket -import adafruit_minimqtt as MQTT +import adafruit_minimqtt.adafruit_minimqtt as MQTT ### Cellular ### diff --git a/examples/minimqtt_simpletest_eth.py b/examples/minimqtt_simpletest_eth.py index 2d1f5d9..55a649d 100644 --- a/examples/minimqtt_simpletest_eth.py +++ b/examples/minimqtt_simpletest_eth.py @@ -4,7 +4,7 @@ from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K import adafruit_wiznet5k.adafruit_wiznet5k_socket as socket -import adafruit_minimqtt as MQTT +import adafruit_minimqtt.adafruit_minimqtt as MQTT # Get MQTT details and more from a secrets.py file try: