I am using an STM32F4discovery board, but I think this time the problem doesn't depend on the board.
I put the HD44780.js file on a SD card into the node_modules directory in order to load the file from a local filesystem( the SD card )
Then wrote a simple javascript to display a greetings message on LCD and flash a led ever 1 s .
I saved the script on the flash by using save().
This works fine as soon as the board starts standalone or linked to a PC with the serial USB cable.
Anyway I am no longer able to get any communication over the serial USB channel and I have no way to access the board interactive shell either by using a terminal emulator or the Web IDE.
Is there a reason for this behavior related to the way the "require" machinery works ?
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.
I am using an STM32F4discovery board, but I think this time the problem doesn't depend on the board.
I put the HD44780.js file on a SD card into the node_modules directory in order to load the file from a local filesystem( the SD card )
Then wrote a simple javascript to display a greetings message on LCD and flash a led ever 1 s .
I saved the script on the flash by using save().
This works fine as soon as the board starts standalone or linked to a PC with the serial USB cable.
Anyway I am no longer able to get any communication over the serial USB channel and I have no way to access the board interactive shell either by using a terminal emulator or the Web IDE.
Is there a reason for this behavior related to the way the "require" machinery works ?