espat: change all examples to use Arduino Nano33 IoT by default

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2019-10-17 13:15:55 +02:00
parent 3fca96e0ef
commit c7555a1469
7 changed files with 22 additions and 17 deletions
+4 -3
View File
@@ -28,11 +28,12 @@ const pass = "YOURPASS"
//const server = "tcp://test.mosquitto.org:1883"
const server = "ssl://test.mosquitto.org:8883"
// these are the default pins for the Arduino Nano33 IoT.
// change these to connect to a different UART or pins for the ESP8266/ESP32
var (
uart = machine.UART1
tx = machine.D10
rx = machine.D11
uart = machine.UART2
tx = machine.PA22
rx = machine.PA23
console = machine.UART0