pxt-grove-uart-wizfi360
WizFi360 code
0
Components
Hardware componentsProject 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.
