Skip to content

pxt-grove-uart-wizfi360

WizFi360 code

WIZnet

Published March 04, 2024

Original author: Vahagn339Original source (new tab)

pxt-grove-uart-wizfi360

Components

Hardware components

Project description

Grove Uart WizFi360 A Microsoft MakeCode package for Grove Uart WizFi360. This is a module similar to Grove Uart WiFi v2. Basic usage namespace wizfi360 { interface ATRespMatch { match: string rc: number } type ATRespMatches = ATRespMatch[] let isWifiConnected = false /** * Setup WizFi360 WiFi */ //% block="Setup Wifi|SSID = %ssid|Password = %passwd" //% group="UartWizFi360" export function setupWifi(ssid: string, passwd: string, timeout: number = 20000) { const atRespMap: ATRespMatches = [{match: "OK", rc: 1}, {match: "ERROR", rc: 2}, {match: "None", rc: 3}] const atCWModeRespMap…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.