Hi First of all - sorry for bad English
I try to connect SDCard to NodeMCU with Espruino 1.96 firmware with this manual
function onInit() { // initialise SPI1 for SDCard module SPI1.setup({mosi:NodeMCU.D6, miso:NodeMCU.D7, sck:NodeMCU.D5}); E.connectSDCard(SPI1, NodeMCU.D0 /*CS*/); console.log(require("fs").readdirSync()); // ... }
bu as result - i see this in console:
Uncaught Error: Function "connectSDCard" not found! at line 2 col 5 E.connectSDCard(SPI1, NodeMCU.D0 /*CS*/); ^ in function called from system
what i do wrong? thanks
@Joshua_Sturmvogel started
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
First of all - sorry for bad English
I try to connect SDCard to NodeMCU with Espruino 1.96 firmware with this manual
bu as result - i see this in console:
what i do wrong?
thanks