From 9a3bfd4826bfe143fc41d227f8d1a5780dbd617a Mon Sep 17 00:00:00 2001 From: sago35 Date: Mon, 6 Sep 2021 08:50:04 +0900 Subject: [PATCH] wifinina: add comments --- examples/wifinina/http-get/main.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/wifinina/http-get/main.go b/examples/wifinina/http-get/main.go index 6ee3171..ba2e56d 100644 --- a/examples/wifinina/http-get/main.go +++ b/examples/wifinina/http-get/main.go @@ -4,6 +4,12 @@ // // https://github.com/arduino-libraries/WiFiNINA/blob/master/examples/WiFiWebClientRepeating/ // +// This example will not work with samd21 or other systems with less than 32KB +// of RAM. Use the following if you want to run wifinina on samd21, etc. +// +// examples/wifinina/webclient +// examples/wifinina/tlsclient +// package main import ( @@ -23,6 +29,7 @@ const ssid = "" const pass = "" // IP address of the server aka "hub". Replace with your own info. +// Can specify a URL starting with http or https const url = "http://tinygo.org/" // these are the default pins for the Arduino Nano33 IoT.