I am trying to connect "ESP32 WeMos Lolin32" to the Espruino Pico through SPI2, since I have already used SPI1 pins for other things. this is the code I have written:
SPI2.setup({mosi:B15, miso:B14, sck: B13});
var esp32 = require("ESP32").connect(SPI2);
I'm getting the following error at 2nd line:
warning: module "esp32" not found uncaught error: sd card must be setup with e.connectsdcard first at line 4 col 28 var esp32 = require("esp32").connect(spi2);
.
Please help me resolve this issue. I'm using esp32 to use the bluetooth, any help on using the bluetooth will also be useful.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi All,
I am trying to connect "ESP32 WeMos Lolin32" to the Espruino Pico through SPI2, since I have already used SPI1 pins for other things. this is the code I have written:
SPI2.setup({mosi:B15, miso:B14, sck: B13});
var esp32 = require("ESP32").connect(SPI2);
I'm getting the following error at 2nd line:
warning: module "esp32" not found uncaught error: sd card must be setup with e.connectsdcard first at line 4 col 28 var esp32 = require("esp32").connect(spi2);
.
Please help me resolve this issue. I'm using esp32 to use the bluetooth, any help on using the bluetooth will also be useful.
Thank You,