For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?
The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
It's funny because you'd think so, but with microcontrollers these days apparently it's not hard to find them out there running a version of python, lua or even javascript when they're not running the more traditional C variants. Hardware is cheap, and lower power chips can do a lot more than they used to.
is it actually though? The reason I ask is it's not *exactly*, like there's functions in there like digitalWrite() that have no corresponding header at the top.
That's why I've been confused as to what language it actually is. Most of the constructs look Cish, but there are some C++isms. No generics to my knowledge though, and no standard library which is why i hesitate to say anything more than Cish? This is just my takeaway after getting my hands on it. I fully expect in you saying that you know something I don't.
I would sooner trust a trained monkey to drive me around. It's got a few million years of evolution under its belt and a few hundred billion neurons more in its head. That's also why I don't expect the terminator to knock at the door any time soon. Artificial evolution takes its time, simply because it takes a (simulated) lifetime and many generations of candidates. And what environment will the simulation take place in? The Matrix? Of what use would an AI be that had been trained by playing Skyrim, just because that's a little bit easier to accomplish?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
There's this thing called an ESP8266 and it is a little wifi adapter that is exposed over a 2 wire serial interface basically and you communicate with it using AT commands like those old Hayes modems.
It's meant for wiring into Arduinos and some Arduinos come with one built in. The Arduino processors are little 16mhz 8 bit monsters and aren't so good at running a TCP/IP stack and all that, so these little ESP8266 widgets have a built in Tensilica processor running at like 3 times the speed of the Arduino, and the firmware for it is flashable!
So you can gut the AT firmware and flash say Micropython on it. Hello little tiny python machine.
So now I have 3 of these gadgets but only enough parts to deal with the onboard one I have. The others need their own power supply and I don't want to deal with it.
I really shouldn't brick this board since its earmarked for another project for my in-laws but I am curious and don't want to wait for the mail.
I did manage to bring this chip back from the dead once already after nuking the onboard firmware but I'm not entirely sure I could repeat it.
This seems like a perfect time for doing something foolhardy.
ETA: Micropython is neat, and I say that as someone who doesn't even like python.
That's adorable! I was hoping for something with digital and analog I/O pins I could tap, and then I found the pyboard which is similar to what you linked to but more geared for industrial microcontroller applications. That one was a little much for me. I think a hacked $15 arduino mega 2560+WiFi with the wifi bit cannibalized for micropython instead would serve me fine. pyboards are like $50. Still cheap, but I kinda want bragging rights of hacking it into an arduino, even if the end result is a slower machine.
Forget all else within your post - perhaps all your posts, ever, and all of ours, as well. This, piece of wisdom - guidance and surety of purpose is far beyond even priceless:
honey the codewitch wrote:
This seems like a perfect time for doing something foolhardy.
Indeed, my gratitude is beyond all frail human attempts at expression, for now I may boldly set forth upon any task or trial with the sure knowledge that a path forward is always at hand!
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
Last Visit: 31-Dec-99 18:00 Last Update: 14-Jun-24 4:05