Pico fixes
This commit is contained in:
@@ -12,13 +12,16 @@ SERVER_PORT = 3000
|
||||
SERVER_IP_LOWER = 100
|
||||
SERVER_IP_UPPER = 102
|
||||
|
||||
#SERVER_IP_LOWER = 120
|
||||
#SERVER_IP_UPPER = 123
|
||||
|
||||
# Initialize I2C and OLED
|
||||
i2c = I2C(0, sda=Pin(8), scl=Pin(9), freq=400000)
|
||||
display = SSD1306_I2C(128, 64, i2c)
|
||||
|
||||
# connect to laptop hotspot
|
||||
wifi_client.wifi_connect(SSID, PASSWORD)
|
||||
wifi_client.search_server(SERVER_IP_LOWER, SERVER_IP_UPPER, SERVER_PORT)
|
||||
#wifi_client.search_server(SERVER_IP_LOWER, SERVER_IP_UPPER, SERVER_PORT)
|
||||
#wifi_client.send_request(42)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user