Skip to content

Commit

Permalink
Merge pull request #41 from brentru/example-fix
Browse files Browse the repository at this point in the history
Fix import path in examples
  • Loading branch information
brentru authored Jun 22, 2020
2 parents 4f01403 + 70edc72 commit 6ed8b95
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/minimqtt_adafruitio_cellular.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/minimqtt_adafruitio_eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/minimqtt_adafruitio_wifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###

Expand Down
2 changes: 1 addition & 1 deletion examples/minimqtt_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###

Expand Down
3 changes: 2 additions & 1 deletion examples/minimqtt_pub_sub_blocking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###

Expand Down
1 change: 1 addition & 0 deletions examples/minimqtt_pub_sub_blocking_topic_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###
Expand Down
3 changes: 2 additions & 1 deletion examples/minimqtt_pub_sub_nonblocking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###

Expand Down
3 changes: 2 additions & 1 deletion examples/minimqtt_pub_sub_pyportal.py
Original file line number Diff line number Diff line change
@@ -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 ###
Expand Down
2 changes: 1 addition & 1 deletion examples/minimqtt_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###

Expand Down
2 changes: 1 addition & 1 deletion examples/minimqtt_simpletest_cellular.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###

Expand Down
2 changes: 1 addition & 1 deletion examples/minimqtt_simpletest_eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6ed8b95

Please sign in to comment.