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.
I'm currently working on a project. I need help connecting my Pico to the smartphone module via Bluetooth, Please help me on which bluetooth module to use and if you can provide me any sample code for the Pico part.
Thank You
Search Options
Types to Display
Espruino
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,