Re: inpout32
- Posted by jimcbrown (admin) 1 month ago
- 854 views
I suppose some part of it must be Euphoria/Phix, to justify it being here, but otherwise
it doesn't matter if it is on Windows, Linux, RasperryPI, Arduino, ESP8266, or whatever.
In fairness, though, afaict no-one has ever posted a demo of anything (remotely) similar on this forum or its predecessor or in the archives, in now 31 years.
Actually, there are a number of examples on this forum (of using Eu to communicate with an rPi, Arduino, etc), including this one from irv himself.
https://openeuphoria.org/forum/131017.wc#131017
But see also other examples,
https://openeuphoria.org/forum/123941.wc#123941 https://openeuphoria.org/forum/125793.wc#125793
Even one from ryanj, https://openeuphoria.org/forum/m/123448.wc
Maybe something along the lines of oh dear, another pointless link.
So granted, I can't say for sure that any of the above controlled a table lamp (but some of what folks were trying to do was left vague ("let Euphoria programs communicate with hardware based on the Propeller chip") so maybe it's covered?
I think that's part of the problem here though. What katsmeow wants this to be used for seemingly keeps changing (car engine monitoring? turning on a fan on a roof? driving a lawn mower?), so even if someone were to devote all the effort to fixing one aspect, a more complex one would arise.
Now that's actually fine. One's needs will change and grow over time. But the inability of a few folks to keep up with ever growing needs and requirements should not be confused with the ability/inability of OE/Phix (and even Eu 3.1 with the right combos) to do I/O to Arduinos/rPis/etc.
That, btw, is the gauntlet being thrown down.
And has the challenge been met in your opinion?
I'm thinking it isn't inability, it's unwillingness to give up an opportunity to complain about how unfair the world is.
I guess the point I'm trying to put emphasis on here is that it isn't OE/Phix/Eu3 that has an issue.
Rather these things are doable if you use Eu with either X or Y, or else you can do Z instead, but then we have this person who doesn't want to do or use any of X, Y, or Z.
Amazing that an adult cannot learn what most middle-school girls and boys manage to do with just a few days of tinkering.
To be fair, it's this bit that really got to me:
It's a shame that Euphoria/Phix must be tied to windoze for this particular user to be useful, since Linux in particular makes it really easy to directly access physical memory like so:
mem = open("/dev/mem", "rw")
snip
And at this point i am cussing out loud. Very loud.