Closed davidbono closed 6 years ago
Fixed by removing keyword arguments :
""" LoPy LoRaWAN Nano Gateway example usage """
import config
from nanogateway import NanoGateway
if __name__ == '__main__':
print("Hello World")
nanogw = NanoGateway(
config.GATEWAY_ID,
config.LORA_FREQUENCY,
config.LORA_GW_DR,
config.WIFI_SSID,
config.WIFI_PASS,
config.SERVER,
config.PORT,
config.NTP,
ntp_period=config.NTP_PERIOD_S
)
print("Démarrage Gateway")
nanogw.start()
print("Démarrée")
nanogw._log('You may now press ENTER to enter the REPL')
input()
Just trying to execute main.py :
I obtain the following result by using lopy4 ( last firmware:1.17.5.b6 ) with Atom and pymakr.
Any help would be much appreciate.