I can really empathise with many of your comments… JS is a nice change from C++, I like how I can group everything into nice little “packages” instead of pre-setup, setup, main loop, functions, etc… and it just works
Haven’t done much with timers yet… just a simple Delay/Pause" routine… That I suspect is non-blocking.
And yes, very quick to make a change and implement the change, and repeat until it works. I use VNC and run Geany to do the editing. I then run my script in a terminal window. So I simply edit my code, SAVE, CTRL-C in the CLI (to stop the script assuming it didn’t crash from last edit ) up arrow to rerun script command, rinse & repeat. Very quick, which is nice when I am randomly trying different bracket combos trying to figure out what goes where
MULTITASKING!!! I really like how I can run “child” processes from within my Blynk sketch… start and stop video streaming, check… run OLED display demos, check… click a button and send a PiCam picture to the OLED, check (still waiting for an image viewer for Blynk App - HINT )
I think that may be up to us RPi NodeJS users to eventually produce. I already have a handful of my own examples that I have parceled out in this forum.
Hmm, on that note, since they are all wrapped up in my single NodeJS testbench script, I should break them out into another post or three in my Simple Code Example topic.
EDIT I made a new topic instead - NodeJS Blynk - Code Examples for Basic Tasks (Work in Progress). @zeeko feel free to send me any code snippets you have and I can add them in, with author credit of course.