Re: inpout32
- Posted by katsmeow in September
- 1768 views
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.
Even one from ryanj, https://openeuphoria.org/forum/m/123448.wc
That's the one i put money into. Note the date of the post: Dec 28, 2013. I heard the same assurances there'd be forthcoming code several times this year. I'd have put more money into it, but the project has been dead at Ryan's end for 11 years now.
Maybe something along the lines of oh dear, another pointless link.
Which used a existing wireless net set up by a smart phone, or using the smart phone as a hotspot of some sort to a network. I have no smart phone, and never needed one to turn on a lamp before.
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.
Golly gee, it's as if a GPIO port is "specialised" after all, and might be useable only to operate a lamp? or a lawn mower, but not both!?! How in the heck can anything i plan on using it for change the OE code of write(parport,{16,12,"no"}) ? I never asked anyone to design or build the device the serial or parallel cable plugs into. What i asked for was how to get OE once again able to read and write pins which i can connect chips to.
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")
Great, how to i get the smoke detector and anemometer into memory?
Kat