Well I was thinking to run a lua script since WiFi is involved and repacking the data and stuff seems easier that way
If youāve got it up and running on both ends and youāre at the stage where you can transfer data between the Pokitto and the ESP then it should just be a matter of transferring and loading a compiled script.
I donāt know what stage youāre at though.
Also I donāt have the equipment to test anything so my usefulness is soon going to be somewhat limited for anything other than looking at code and trying to discern software errors.
Uhm well itās using the same libs as Arduino so if you can test uno to pokitto communication would still be helpful
I donāt think that would work, an Uno is 5V, not 3.3V like the Pokitto.
If itās possible then I could do it, but I donāt know how so Iād either have to do some research or ask for help.
not sure where to put this but came across this guide on learning c and writing a lisp interpreter
i think this might run on the pokitto with some tweaks
Iām going to throw this at you as well:
http://craftinginterpreters.com/contents.html
I havenāt got round to reading it, but I trust Bob to do a good job.
Also I donāt think his version requires mpc
and I suspect āloxā is friendlier than ālispā.
Oh, and in case you canāt translate the Java to C++ for whatever reason, hereās a list of all the different Lox implementations people have made:
Out of the ones I skimmed, this one is my favourite because itās C++11 friendly and const-correct:
It would need a bit of tweaking to run on Pokitto though.
Particularly I donāt think std::runtime_error
is available on Pokitto because exceptions are disabled.
(That said, a lot of the other C++ variants are using C++11, C++14 and C++17 featuresā¦ In fact I canāt find one that isnāt using at least one C++11 feature)
i keep looking back at this potentialy amazing use with the esp32 but cant seem to do it.
started looking at mongoose os as perhaps the solution
outside looks like a solid system, it even lets you program it from a browser with javascript or c wich is a bit wierd
it opens up solid wifi, i guess all it realy needs is a decent conection library to the pokitto
any thoughts on this?
My thoughts:
Go back to square one.
Write down all your objectives and discern how important each of them are.
Also if wifi is the main objective, ESP32 seems a bit overkill in terms of power.
So I think WiFi is a main point but not the only thing
My problem with doing a custom thing is that OTA updates or pokitto programing the esp is complex
Esp32 or esp8266 are both powerful and I think can be used as external co-processing Chip
So its:
- WiFi bridge
- Reprogrammable
- Interpreter
If Iām overthinking it just tell me