-
• #2
change baud rate to 115200
-
• #3
I'm new, how do I do it in the ide? When I flashed the firmware the band rate is set to that.
-
• #4
click the gear and select communications
1 Attachment
-
• #5
Thank you, that did work but I am getting this now in the console.
1 Attachment
-
• #6
use this to flash your board
https://forum.espruino.com/conversations/401440/#comment17610998
-
• #7
Thank you, it worked. Why aren't some modules recognized such as ST7789.js or Graphics
1 Attachment
-
• #8
thanks
-
• #9
please check the module page
-
• #10
there is a page explaining howto connect an ST7789 display
-
• #11
btw which board do you use?
-
• #12
I use esp32? apparently the module is found in my phone but not in my pc.
-
• #13
in order for the module to be available, the webIde does some background magic, it auto downloads the module from github and sends it to the device, if you upload some code that uses it.
You cannot just connect to a "fresh" device from the web ide and do a "require("ST7789")" on the left side, the module will not be found.
place some code on the right hand side that calls "require("ST7789")" , then upload to ram, then you can use the "require("ST7789")" on the left hand side, the webIde will auto download the module for you.
for example, you can type
test=require("ST7789");
on the right hand side, and then upload this to a file named "test" in the flash using the webIde's "send to espruino" button.
Then, using the disk button on the webIde, you can view the "test" file you just uploaded, and you will notice that it also includes the module.
So, if you later reset(); and call this file from the left hand side,
require("Storage").read("test")
the module "ST7789" will be available on the left hand side, without the need for the loader to download it again for you.
-
• #14
Why aren't some modules recognized such as ... Graphics
That's a builtin class, not module https://www.espruino.com/Reference#Graphics
-
• #16
Hello, I managed to get it to work on the web ide using Bluetooth. Now it gives this out.
1 Attachment
-
• #17
We'd need to see what code you're using. It almost looks like you might be trying to use a library meant for something else
Hello, I received my esp 32 a few days ago. I flashed the firmware to the espruino firmware using esptools.py. I connected it to the espurino web ide, it started giving out random characters, and there was a message that said No response from the board.
The console looks like this in the picture.
1 Attachment