-
-
-
-
-
This worked great! Just ...
https://github.com/beautify-web/js-beautify
(base) admin@admins-Mac-mini ESP32 % js-beautify eval.js > beautify.js
-
-
I found this interesting project on Github ... A commercial app that uses Espruino I believe.
https://github.com/MakerDrive/PhotoPizza
When i followed this link
The source displays as a huge glob of unformatted text. Am I missing something simple?
(interesting, it does seem to load and run rationally ...)
-
Thank you! This kind of timely support is exactly why I own ever single piece of hardware you make...
Works perfectly, and sounds great as well. Espruino really has command of the Micro:Bit's speaker, and this example is a good into to Espruino's (JS) "eventing system". I have an entirely new respect of/for setInterval.
-
Today both your binaries worked fine, my only issue is I may have fixed a configuration issue on the nRF device when I installed the correct version of Micropyhthon just to check the hardware was OK.
Also I may have forgot to reboot my machine yesterday. Classic mistake.
And I guess I copied over the wrong hex file from my build directory. I used "espruino_2v14.149_microbit2.app_hex" which probably short the softdevice.
That was easy to do. My bad.I really appreciate you being so diligent and updating the Micro:bit v2, I really need the spearker for my project.
Thanks for your help, Gordon.
-
-
Howdy all,
Just need a little help getting started with a simple application that would count down at a variable rate and display progress on the Micro:Bit V2 LED Display. It would be great if on every iteration I fired the speaker on the version 2 at each transition for say 500 MS.
I was thinking that the async nature of Espruino would allow me to do something clever with the "eventing" system, and take advantage of Espruino's support for the LED matrix display.
Eventually I would like the variables settable from a BLE interfaced on a Smartphone, but basic functionallity first...
Thanks!
-
Hi Gordon, thanks for your comments.
Great minds run together, I ran some experiments this morning with the latest ESP32 dev module and the new Arduino IDE 2.o beta. The latest gen CHXXX USB serial interface does rip, and the serial programming performance is very good.
My only motivation for using Espruino on the ESP32, was consistency with my other code examples. I am working on some education materials, and am looking at some gentle, progressive code snippets to get familiar with the "big ideas" in low power BLE.
I'm getting a lot of inspiration from your recent YouTube videos on the subject.
https://www.youtube.com/watch?v=lWjuMEIrmY8
I really like how you show the evolution of a generic BLE serial console, to a unique custom characteristic of your design, and then hit the Android Nordic nRF connect console to demonstrate manually stuffing a bit in the "register" to activate the servo. That seems like the learning trajectory best to follow.
-
-
I guess what I meant to say, is I'm not sure what directly applies to the ESP32, in this context.
Is it fair to say that the generic NRF class is completely, implemented? I could use my other Espruino boards to prototype and test with, if that is/was the case.
Thanks for the consideration your reply...
-
Just got my Bangle.js from Adafruit yesterday, and was thinking about getting some data logging happening...
This is very interesting, and would be a great place to start ...
http://www.espruino.com/Bangle.js+Data+Streaming
But I could also imagine I might want to also communicate via BLE to a ESP32 "remote" bidirectionally. I see that there is some support for the nRF library, on ESP32, but don't see much in the way of documentation regarding how complete it is.
Simple BLE advertisement ESP32 to the Bangle.js , could be step one.
Any advice on where to begin understanding this?
Thanks!
-
-
-
-
-
This is what dmesg reports, seems OK.
[ 1865.522240] usb 3-9.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1865.522242] usb 3-9.2: Product: STM32 Virtual ComPort
[ 1865.522243] usb 3-9.2: Manufacturer: STMicroelectronics
[ 1865.522244] usb 3-9.2: SerialNumber: 00000000001A
[ 1865.551474] cdc_acm 3-9.2:1.0: ttyACM0: USB ACM device
[ 1865.559307] usbcore: registered new interface driver cdc_acm
[ 1865.559309] cdc_acm: USB Abstract Control Model driver for USB modems and -
Just got a new Espruino PICO for Adafruit... Thought I would update the firmware.
I'm seeing the onboard LED's flashing happily, and when I get into the flashing app all seems to be well, until right after I select the Espruino PICO as my target for upgrade.
When I select the "next" button, it just silently returns to the web IDE in Chrome with no observable effect.
Is there anything I can run from the command line to see what's happening? I have every flavor of ARM programmer available, and most ST Linux utilities installed on this Ubuntu 20.10 image, but since the boot-loader appears to be sane, I was hoping from something simple :)
Thanks!
-
Always something cool going on with Espruino! :)