Thank you for mentioning my video. Good explanation. What I missed is the fact that the concurrency problem usually is solved on the operating system level. Maybe RTOS would have deserved a mentioning. And how it can be used on an ESP32 in the Arduino environment.
@DavyBot6 жыл бұрын
I'm not very well versed on the details of RTOS. How would that help with something like the 3 independent LEDs example or implementing asynchronous IO handling at the code level (as in responding to IO events without blocking)? For JS, since it's all built around an event loop (similar to that provided by Python's asyncio) those things are handled with callbacks or "promises". Even on platforms like NodeJS (despite usually running on proper Linux web servers).
@AndreasSpiess6 жыл бұрын
Maybe you watch my video ESP32 on steroids. You basically create tasks which run completely independent from each other. RTOS does the switching. In the ESP32 you even can run two tasks in parallel if you wish because it has 2cores. But only optional.
@davywtf6 жыл бұрын
@@AndreasSpiess Just watched your video. Ahh. I see. That is pretty cool. And you're right, I could have mentioned RTOS as being a sort of compromise between something like RPi and lower level micro platforms. For me it's still extra boilerplate code to work with compared to the JS model. It also further complicates things when you need to manage shared state between those tasks. And, probably more importantly, it would limit my target platform to those beefier boards. I've been running Espruino smoothly on a tiny little nRF52832.
@AndreasSpiess6 жыл бұрын
I do not know Espurino yet and I do not want to be right or wrong. Just wanted to mention that RTOS exists and is quite widely used;-) I for sure will have a look at espurino as the main developer asked me to do so.
@williambello40896 жыл бұрын
Very good. Keep it up. :-)
@jason.78775 жыл бұрын
"regularly posting all of your private data to creepy remote server" nice
@joelmatondang70376 жыл бұрын
u could use a phone microphone and it's still have more quality audio than this video. Try it
@DavyBot6 жыл бұрын
lol, I did record it on a phone microphone (a Pixel). It doesn't sound that bad to me, just a little bit of echo.
@joelmatondang70376 жыл бұрын
@@DavyBot how? i thought pixel had a great microphone . . . it's lack of low and mid,
@DavyBot6 жыл бұрын
I don't have a very bass-y voice to begin with but it might be the noise removal I used (Audacity). Without removing noise there's too much background static since I don't have soundproofing. I could try using some EQ profiles next time. But, yeah, I really just need to get a decent mic and find a way to soundproof a bit so I don't need as much noise reduction.
@joelmatondang70376 жыл бұрын
@@DavyBot yeah, i used eq a lot when i edit a video with me or my friends voice in it. I used fabfilter q2 btw